thanks every one for your help.
> -Original Message-
> From: Leif K-Brooks [mailto:eurleif@;buyer-brokerage.com]
> Sent: Thursday, 31 October 2002 2:26 PM
> To: Peter Houchin
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] stupid me!!
>
>
> A variable
Well the && means and so this will never work!!
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
If you need PHP hosting with an experienced
support team 24/7 then email me today.
On Thu, 31 Oct 2002, Peter Houchin wrote:
> howdy,
>
> can any one tell me what's wrong with this my mind is going a m
A variable can't have 4 values at once? :)
Peter Houchin wrote:
howdy,
can any one tell me what's wrong with this my mind is going a miss on me..
if ( $state == 'NSW' && $state == "QLD" && $state == "NT" && $state ==
"ACT"){
do sum stuff
}
else {
do other stuff
}
TIA
Peter
"the only dumb
Below you force state to equal NSW, QLD, NT
I think what you are after is "OR" not "AND"
|| = or
&& = and
-
Chris Kay (Systems Development)
Techex Communications
Website: www.techex.com.au Email: [EMAIL PROTECTED]
Telephone: 1300 88 111 2
4 matches
Mail list logo