- Original Message -
From: Erich Beyrent [EMAIL PROTECTED]
To: Sunfire [EMAIL PROTECTED]
hi..
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables
and want to test
to
see if they were used in the
hi..
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to test to
see if they were used in the form before displaying either the phone number
itself or just leaving it out of the display... what code would be good to
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to test
to
see if they were used in the form before displaying either the phone
number
itself or just leaving it out of the display... what code would be good to
: Sunfire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 11:49 AM
Subject: [PHP] empty variables from a form
hi..
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to test
to
see
PROTECTED]
Sent: Wednesday, February 05, 2003 1:54 PM
Subject: Re: [PHP] empty variables from a form
hi..
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to test
to
see if they were used in the form before
the string
against the litteral expression.
if($myvar == '');
..or..
if(empty($myvar));
-Kevin
- Original Message -
From: Sunfire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 12:40 PM
Subject: Re: [PHP] empty variables from a form
tnx will try that my other code
PROTECTED]
To: Sunfire [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 1:54 PM
Subject: Re: [PHP] empty variables from a form
hi..
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to
test
to
see
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to
test
to
see if they were used in the form before displaying either the phone
number
itself or just leaving it out of the display... what code would
PROTECTED]
Sent: Wednesday, February 05, 2003 2:43 PM
Subject: Spam: Re: [PHP] empty variables from a form
how would you test for an empty (unused) variable from a form..
i have a phone number split into 3 different vairiables and want to
test
to
see if they were used in the form before
On Thursday 06 February 2003 05:10, Sunfire wrote:
empty doesnt work either... it still comes up as though something is in
them and excludes either nothing at all or includes everything...even the
empty vars..any reason for that ?
Do var_dump() all the vars which you think are empty but PHP
Okay enough of this. Please show us some code. :-)
-Kevin
- Original Message -
From: Sunfire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 2:10 PM
Subject: Re: Re: [PHP] empty variables from a form
empty doesnt work either... it still comes up as though
empty doesnt work either... it still comes up as though something is in
them
and excludes either nothing at all or includes everything...even the empty
vars..any reason for that ?
Because you're jacking something up in your logic or code... show us how
your trying to solve this perplexing
12 matches
Mail list logo