Versuchs mal mit ner while - schleife... sollte eigentlich so klappen!
PHP-Code:
echo "<table>";
while ($row = mysql_fetch_object($ergebnis))
{
echo "<tr>
<td>" . $row->spalte1 . "</td>
<td>" . $row->spalte2 . "</td>
<td>" . $row->spalte3 . "</td>
</tr>";
}
echo "</table>";