Re: mysql if empty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux