partywelt: Bildergalerie

Beitrag lesen

Hat sich erledigt. So hab ichs geschafft

<table>
  <tr>
  <?php
  $f = 0;
  while($row = mysql_fetch_assoc($result)) {

++ $f;
    print("
    <td>
      <a href=galerie_bild.php?bild_id=$row[bild_id]><img border=0 src='Uploads/$row[link]' width=$widthA height=$heightA></a>
    </td>
    ");
    if ($f % 3 == 0) echo "</tr><tr>";
  }
  ?>
  </tr>
</table>