note 34748 rejected from control-structures.alternative-syntax by didou

From: Date: Tue, 05 Aug 2003 19:26:53 +0000
Subject: note 34748 rejected from control-structures.alternative-syntax by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53448@lists.php.net to get a copy of this message
Note Submitter: fun2dome@hotmail.com ---- No matter wat i set id equal to, it always satisfies the else condition :/ if ($id == 1): print "1"; elseif ($id == 2): print "2"; else: print "3"; endif;

« previous php.notes (#53448) next »