Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Posts posted by Jessica

  1. ...

     

    You said you want a text editor. Do you really mean a CMS? Because it SOUNDS like what you want is a WYSIWYG editor, which is what TinyMCE is. It has nothing to do with Wordpress.

    If you want a full CMS/blogging platform like Wordpress, that is completely different. That software would USE a WYSIWYG but that's not all it is.

  2. Hey Nerbie, Your if condition is:

     

    $totalRows_rsOsprey > 0

     

    You say the li still prints? Then $totalRows_rsOsprey must be greater than 0.

     

    Your code literally makes no sense though. You could put all of that within the same loop. But really you should probably look into normalizing your data and using loops.

  3. That's if you're using the MySQL console or a tool like MySQL Workbench or phpMyAdmin.

     

    See how you called some functions to connect and select your database? You need the appropriate functions to run your query.

    (You'll want to switch to using PDO/mysqli)

  4. All you've done is just write out two strings, and try to subtract one from the other. You'll need to actually execute the queries and then fetch the data.

     

    If you don't know how to do that, try googling for a basic MySQL/PHP tutorial. Look for one that uses PDO or mysqli_, not mysql_ functions. Also read the manual, the basic examples in there are really all you'll need.

  5.  

     

    PHPFreaks.com Questions, Comments, & Suggestions
    This is NOT a help forum! Do not post topics asking for help that are not related to the website.

     

     

     

     

    Moving this to the right forum. (based on OP's post, this is an application design issue IMO)

     

     

    You should post the relevant code only, in code tags. (The <> button).

  6. Try capturing errors. Check my signature where it says Debugging your SQL. You're not checking for any MySQL errors.

     

    Edit: The post describes using mysqli, but you'll do the same thing with the appropriate PDO functions. Check the PHP manual for those.

  7. No, you called something stupid because you're not smart enough to understand it's value. You also called it crap. Don't try to act like you're not being a moron.

    Don't spout off opinions on how crappy something is when you can't even comprehend it. It makes you look even almost stupider than you did the time you told us about spraying bleach in your dying cat's face.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.