Short writage of clauses

From: Date: Mon, 12 Jun 2006 09:29:57 +0000
Subject: Short writage of clauses
Groups: php.general 
Request: Send a blank email to php-general+get-237783@lists.php.net to get a copy of this message
Hi everyone! Well i do know that you can write IF as ( ? : ) but what i am asking about is something like this: if (a = 1 OR a = 2) is it anyway possible to write it like: if (a = 1 OR 2) I know this is wrong because "2" will always be true ... Any infos on that would be nice :) Greets Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

« previous php.general (#237783) next »