Potrebbe essere cosi.

Assumo che hai tre campi nella tua tabella. Se ne hai più di 3 devi aggiungere delle variabili nella lista.
codice:
<?php
$query = "SELECT * FROM hhhh where ressss = $id";
$result = mysql_query($query);
?>
<table>
<?php 
while (list($c1,$c2,$c3) = mysql_fetch_array($result)){?>
 <tr>
  <td><?php print $c1;?></td>
  <td><?php print $c2;?></td>
  <td><?php print $c3;?></td>
 </tr><?php
} ?>
</table>