Re: dynamic table

From: Date: Wed, 26 May 2004 17:49:35 +0000
Subject: Re: dynamic table
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187008@lists.php.net to get a copy of this message
Very slick Richard. >>$i = 0; >>while ($myrow = mysql_fetch_array($sql)) { >> if (++$i % 5 == 0) echo '<tr>'; >> ... >> >> >>Note: if used repeatedly do not increment the $i again in the loop. >> >>HTH >>Richard

« previous php.general (#187008) next »