html
codice:
<table align="left" id="7">
<a name="relazioni"></a>
<tr valign="baseline">
<td>Data</td>
<td>Contenuto</td>
<td>Agenda</td><td>Scadenza</td><td>Stato</td><td>&nbsp;</td>
</tr>
<tr><td colspan="6" id="risultato_ricerca"></td>
</tr>
</table>
php
Codice PHP:
<?php do {
echo 
'<tr><td>'.date("d/m/Y"strtotime($row_rs_relazioni["data"])).'</td><td>'.$row_rs_relazioni["contenuto"].'</td><td>'.$row_rs_relazioni["agenda"].'</td><td>'.echo date("d/m/Y"strtotime($row_rs_relazioni["scadenza"])).'</td><td>'.$row_rs_relazioni["stato"].'</td><td>&nbsp;</td><tr>';
}
while (
$row_rs_relazioni mysql_fetch_assoc($rs_relazioni));
?>