note 52221 rejected from control-structures.else by betz

From: Date: Mon, 25 Apr 2005 11:09:03 +0000
Subject: note 52221 rejected from control-structures.else by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-88518@lists.php.net to get a copy of this message
Note Submitter: cow_monkey111 at hotmail dot com ---- So why am i geeting a parse error <?php $num = rand(0,4); if ( $num == "1" ) { echo "Yellow<br />"; } else { //*****here***** echo "Blue<br />"; } else { echo "Red<br />"; } else { echo "White<br />"; } ?>

« previous php.notes (#88518) next »