Codice PHP:
<?
$query 
"SELECT * FROM tua_tabella"// sostituisci tua_tabella con quella che vuoi visualizzare 

$sql_query mysql_query($query,$connessione) or die ("Non riesco a sviluppare la query"); // nel caso la query dia un errore 

$records mysql_num_rows($sql_query); // conto quanti records ci sono 

echo "[b]Totale records: $records[/b]

"
// lo scrivo... 

while ($row mysql_fetch_array($sql_query)) 
   {  
?>
<tr bgcolor="white">
    <td align=center valign=top width=50><?= $row[0?></td>
    <td rowspan=2 align=center valign=top width=50><?= $row[1?></td>
    <td rowspan=2 align=center valign=top width=50><?= $row[2?></td>
    </tr>
<tr>
    <td colspan=6 height=1><hr size=1 color=gray></td>
</tr>
<? ?>