Re: Re: Table formatting

From: Date: Mon, 29 Jul 2002 03:53:07 +0000
Subject: Re: Re: Table formatting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110086@lists.php.net to get a copy of this message
On Monday 29 July 2002 11:27, César Aracena wrote: > I like this method a lot. Now, considering I do like FOR looping as a > fact, how can I make a loop inside another loop. I mean, if I tell the > first loop that $i=0 and then do the comparison and then add 1 to $i, in > the inner or second loop should I state that $i=$i or what? Also make it > $i=0??? Not sure if I understand your question. To nest for-loops you have to use a different counter for each loop. Eg, if you're using $i for the outer-loop you can use $j for the inner-loop. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Some people's mouths work faster than their brains. They say things they haven't even thought of yet. */

« previous php.general (#110086) next »