RE: [PHP] while question

From: Date: Mon, 17 Nov 2008 13:45:39 +0000
Subject: RE: [PHP] while question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-283350@lists.php.net to get a copy of this message
[snip] ...foreach... [/snip] You could also use a for loop if you wanted to count; for($i = 0; $i < count($array); $i++){ echo $i . "\n"; }

« previous php.general (#283350) next »