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
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
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
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,
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
5 matches
Mail list logo