RE: [PHP] Loop within Loop help please

From: Date: Tue, 28 Sep 2004 20:19:59 +0000
Subject: RE: [PHP] Loop within Loop help please
Groups: php.general 
Request: Send a blank email to php-general+get-198123@lists.php.net to get a copy of this message
Well, elegance, is in the eye of the beholder !!.. but ya, i certainly wasnt contesting the modulas solutiion, ive used mod in similar cases myself, i was just adding some variety. Jason "Jay Blanchard" <jay.blanchard@niicommunications.com> wrote: > > [snip] > well, actually, the code resets the count var, so it makes absolutely no > difference how many iterations the loop makes, it could iterated > indefinately and still function identically. > [/snip] > > That is quite true, but which is more elegant? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#198123) next »