RE: [PHP] empty variables from a form

2003-02-07 Thread Ford, Mike [LSS]
- 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

[PHP] empty variables from a form

2003-02-05 Thread Sunfire
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

Re: [PHP] empty variables from a form

2003-02-05 Thread 1LT John W. Holmes
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

Re: [PHP] empty variables from a form

2003-02-05 Thread Kevin Stone
: 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

Re: [PHP] empty variables from a form

2003-02-05 Thread Sunfire
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

Re: [PHP] empty variables from a form

2003-02-05 Thread Kevin Stone
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

Re: [PHP] empty variables from a form

2003-02-05 Thread Sunfire
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

Re: [PHP] empty variables from a form

2003-02-05 Thread 1LT John W. Holmes
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

Re: Re: [PHP] empty variables from a form

2003-02-05 Thread Sunfire
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

Re: Re: [PHP] empty variables from a form

2003-02-05 Thread Jason Wong
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: Re: [PHP] empty variables from a form

2003-02-05 Thread Kevin Stone
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

Re: Re: [PHP] empty variables from a form

2003-02-05 Thread 1LT John W. Holmes
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