usa le tabelle e relativi tags html

codice:
echo "<table><tr><td>intestazioni tabella ...... >/td></tr>";

while($row = mysql_fetch_assoc($id_resource)) {

echo "<tr><td>$row[id_commento]</td>
      <td>$row[user]</td>
      <td>$row[data]</td>
      <td>$row[commento]</td></tr>
     ";
} // fine while
Ho usato mysql_fetch_assoc invece dell'oggetto ma e' la stessa cosa.