<html>
<body>
<?php
function conversione($data)
{
list ($y, $m, $d) = explode ("-", $data);
return "$d-$m-$y";
}
?>
<table border= "1" width="870" align="center">
<br>
<tr>
<td width="50"><div align="center"><b>Id </b></div></td>
<td width="200"><div align="center"><b>Nome </b></div></td>
<td width="150"><div align="center"><b>Data</b></div></td>
</tr>
<?php
$db = mysql_connect("localhost","root","");
mysql_select_db("mostra", $db);
$result =mysql_query("SELECT * FROM prova" );
while($myrow=mysql_fetch_array($result))
echo "<tr>
<td>$myrow[Id]</td>
<td>$myrow[Nome]</td>
<td>$myrow[Data]</td>
</tr>";
?>
</table>
</body>
</html>