Hola
webrek
Prueba con esto:
Código PHP:
<?php
$query = mysql_query($sql);
$i=0;
echo "<table>\n<tr>\n";
while ($dato = mysql_fetch_assoc($query)) {
echo "<td>".$dato['Nombre']."</td>\n";
$i++;
if ($i==3) {
$i=0;
echo "</tr>\n<tr>";
}
}
echo "</tr>\n</table>";
?>
Saludos,