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