> Can someone tell me how to properly compare the value returned from the
> db to see if it is blank ?

Depending on how you got it in there, I suspect the value from the db could
be:

NULL
0000-00-00 00:00:00
0

You may need to test if the value is == '' to catch the NULL case.

Everything else has already been covered, I think.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to