Re: flaking out on foreach

From: Date: Tue, 27 Aug 2002 15:11:41 +0000
Subject: Re: flaking out on foreach
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114260@lists.php.net to get a copy of this message
In article <sd6b5d91.079@ccp2.jhuccp.org>, RMCPEAK@jhuccp.org (Robert McPeak) wrote: > 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? What do you see in the HTML source view? -- CC

« previous php.general (#114260) next »