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 question is the one that wasn't asked"




--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to