Codice PHP:
<html>
<head><title></title></head>
<body>
<?php
  $link
=mysql_connect('localhost''username''password');
  
mysql_select_db($'database'$link);
  
$result mysql_query("SELECT * FROM rubrica WHERE Nome='Giuseppe'");
  if (
$result) {
    
$row mysql_fetch_row($result);
    echo 
"IL numero di telefono di Giuseppe è ".$row['numTel']."'";
  }
  
mysql_free_result($result);
  
mysql_close($link);
?>
</body>
</html>