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 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" > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php