te paso uno mas sencillo
Código PHP:
<table>
<tr>
<?
.
.
.
$counter=1;
while ($row = $rs->obtenerArray())
{
?>
<td><div align="center"><img src="<?echo $row["producto_banner_url"];?>"></div></td>
<?
if ($counter%3==0) echo "</tr><tr>";
$counter++;
}
}
?>
</tr>
</table>