LOL... a ver... algo así:
Código PHP:
$result = mysql_query("SELECT * FROM tabla") or die("mal query : ". mysql_error());
$col = mysql_num_fields($result);
echo "<table>";
while($fila = mysql_fetch_array($result)){
echo "<tr>";
for($i=0;$i<$col;$i++){
echo "<td>$fila[$i]</td>";
}
echo "</tr>";
}
echo "</table>";