RE: [PHP] testing for < 0
| From: | Steve Buehler | Date: | Fri, 28 Feb 2003 18:41:31 +0000 |
| Subject: | RE: [PHP] testing for < 0 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137612@lists.php.net to get a copy of this message | ||
There we go. Thank You so much. I also found that I had another error in my script and !is_numeric($timemb) did work after all.
Steve
At 10:41 AM 2/28/2003 -0800, you wrote:
See isset() and empty() -----Original Message----- From: Steve Buehler [mailto:steve@vespro.com] Sent: Friday, February 28, 2003 10:29 AM To: PHP Subject: [PHP] testing for < 0 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php