The code below will display:
image1 image2 image3 image4 image5 image6 ....
echo '<table><tr>';
$query = @mysql_query ("SELECT path FROM images");
while ($row = mysql_fetch_array($row)) {
$image = $row['path'];
echo "<td><img src=\"$image\"></td>";
}
echo '</tr></table>';
I want the images to be displayed 3 in each row:
image1 image2 image3
image4 image5 image5
....