PHP-Code:
echo "<table border=\"0\" cellpadding=\"5\" cellspacing=\"0\">";
$i = 0;
while($a = mysql_fetch_assoc($resa)) {
$i++;
if($i==1) { echo "<tr>";}
echo "<td width=\"150\" height=\"150\" align=\"center\"><img src=\"BILD\" border=\"0\"></a><br>
</td>";
if($i==4) { echo "</tr>"; $i = 0; }
}
echo "</table>";
Kommentar