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" <[EMAIL PROTECTED]> 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php