Re: [PHP] testing for < 0

2003-02-28 Thread Leo Spalteholz
On February 28, 2003 10:41 am, Leif K-Brooks wrote: > Try $timeb <> ''. > Well whatta ya know I learn something new every day.. I thought the only valid not equal operator was !=... I'm used to using <> only for SQL server stored procedures or VB.. leo -- PHP General Mailing List (http://ww

RE: [PHP] testing for < 0

2003-02-28 Thread Steve Buehler
, 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($timem

Re: [PHP] testing for < 0

2003-02-28 Thread Ernest E Vogelsinger
At 19:28 28.02.2003, Steve Buehler spoke out and said: [snip] >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 t

Re: [PHP] testing for < 0

2003-02-28 Thread Leif K-Brooks
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 -- Th

RE: [PHP] testing for < 0

2003-02-28 Thread Bryan Lipscy
See isset() and empty() -Original Message- From: Steve Buehler [mailto:[EMAIL PROTECTED] 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

[PHP] testing for < 0

2003-02-28 Thread Steve Buehler
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