> - 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
> > >
> 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 di
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 eithe
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
re" <[EMAIL PROTECTED]>; <[EMAIL 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 dif
> > > 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... wh
Wednesday, February 05, 2003 2:40 PM
Subject: Re: [PHP] empty variables from a form
> tnx will try that my other code looked something like that but it didnt
> work.. probably had the (and ) in the wrong places... i set it up as the
> whole statement as 1 if statement not 3 different one
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 for
quot;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 vairiable
--- Original Message -
From: "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
> 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
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
te
12 matches
Mail list logo