[thelist] is_null php

Paul Bennett paul at teltest.com
Tue Jul 29 18:42:30 CDT 2003


Tom Dell'Aringa wrote:

>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?>
><?}?>
>  
>
is_null only works in >php 4.0.4, what version are you running?

-- 
 ------------------------------
	Paul Bennett						
	Internet Developer				
	Teltest Electronic Design		
 ------------------------------			
Email: paul at teltest.com				
Phone: 64 4 237 4557					
Web: http://www.teltest.com		
Wap: http://wap.teltest.com			




More information about the thelist mailing list