RE: [PHP] Loop within Loop help please

From: Date: Tue, 28 Sep 2004 17:34:47 +0000
Subject: RE: [PHP] Loop within Loop help please
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198093@lists.php.net to get a copy of this message
<?php $count=0; foreach($someArray as $someVal) { $count++; if($count == 20) { // do some stuff $count = 0; } //do some stuff } ?> How might i do that? Something like that. Justin Much thanks... -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#198093) next »