Re: mysql if empty
| From: | tg-php at gryffyndevelopment dot com | Date: | Wed, 11 Apr 2007 00:13:52 +0000 |
| Subject: | Re: mysql if empty | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-252511@lists.php.net to get a copy of this message | ||
Turn on MAGIC QUOTES and REGISTER GLOBALS
Once you've done that, install Postgres. Run your MySQL command again, Postgres has much
better error reporting and will assist in debugging the situation.
You might consider replacing your javascript functions with PHP ones since JS can sometimes
interfere with MySQL result sets and PHP provide superior client side scripting anyway. <script
language="PHP">
If you're testing with a Windows 9x or XP client and a linux server (excluding Red Hat), you
may get unexplainable results as well. Either install Windows Server 2003 and upgrade to Vista to
make sure client/server are in sync, or install linux, preferably a newer version of Mac OS X.
At this point, you should get $result == "" as TRUE and you're done!
-TG
= = = Original message = = =
I am amazed by the sheer number of just plain WRONG answers to this
one...
Were they all from April 1 or something?...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.