
Tengo esta consulta:
Código :
$result = sql_query("SELECT id, imagen FROM imagenes ORDER BY id LIMIT 0,16"); if (mysql_num_rows($result) <= 0) { $content = "No se encontraron imagenes..."; return false; } $imagen = $row['imagen']; while ($row = mysql_fetch_array($result)) { echo "<img width=\"90\" height=\"90\" src=\"$imagen\" border=\"0\"><br>"; }
Ahora, eso me lista todas las imagenes, lo que quiero hacer yo, es dividirlas en filas / columnas.
O sea.... 4 columnas y 4 filas.
Como puedo hacer esto?
Gracias.
