[thelist] is_null php

Tom Dell'Aringa pixelmech at yahoo.com
Tue Jul 29 17:54:18 CDT 2003


Hi,

I have a NULL date value in my mySQL table. I want to test and see
whether it has a date or its null, a simple if condition. If it is
not null, i want to print out a variable.

For some reason I can't get it to work. I tried:

<? if (!is_null($eDateEnd))
{?>
  to <?=$eDateEnd?>
<?}?>

What am I doing wrong?

TIA

Tom

=====
http://www.pixelmech.com/ :: Web Development Services
http://www.DMXzone.com/ :: Premium Content Author / JavaScript / Every Friday!
http://www.maccaws.com/ :: Group Leader
[Making A Commercial Case for Adopting Web Standards]

"That's not art, that's just annoying." -- Squidward


More information about the thelist mailing list