flaking out on foreach

From: Date: Tue, 27 Aug 2002 15:07:30 +0000
Subject: flaking out on foreach
Groups: php.general 
Request: Send a blank email to php-general+get-114259@lists.php.net to get a copy of this message
Why is this code: <?php $bob=array(1,2,3,5,6); foreach($bob as $foo); { echo "$foo<BR>"; } ?> Rendering only "6". That's it. Just "6". What am I missing here?

« previous php.general (#114259) next »