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 or not

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 -- The

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 tried

RE: [PHP] testing for 0

2003-02-28 Thread Steve Buehler
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:[EMAIL PROTECTED] Sent: Friday,

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