Re: need help with a table please - sorry

From: Date: Wed, 12 Feb 2003 15:10:28 +0000
Subject: Re: need help with a table please - sorry
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135313@lists.php.net to get a copy of this message
woops i did not finish that line:
If you imagine to walk through your code, with every step $i increases. If you start the second row,
then the counter is at 8 and will never be 7 again. And some bad english:
Besides, your second print '<tr>' for every cell, which will break your table, and possibly other tables on your page. i mean to say that the second clause prints <tr> for every cell.
by the way, my proposal has less tests than the other solution you got, so i guess it is an itsy bit faster :)

« previous php.general (#135313) next »