Re: testing for < 0

From: Date: Fri, 28 Feb 2003 18:41:25 +0000
Subject: Re: testing for < 0
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137610@lists.php.net to get a copy of this message
Try $timeb <> ''. Steve Buehler wrote:
I have a form that has input for minutes. My problem is that I am trying to test to see if the field is blank or not and if they enter a "0" (zero), my test always show it as blank. I have tried !$timemb and !is_numeric($timemb). Thank You Steve
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#137610) next »