I want to make a table that has three columns. In my query I'm pulling out all the images and placing them each inside a table cell. How can I tell it to start a new row after the third image has been pulled.
<table>
<?php
while ($row = mysql_fetch_array($result)) {
echo "<td><an image></td>";
}
?>
</table>