<?PHP
$dbhost = "localhost";
$dbname = "my_mionick";
$dbuser = "mionick";
$dbpass = "miapassword";
$conn = mysql_connect ($dbhost, $dbuser, $dbpass);
mysql_select_db ("dbname") or die ("Impossibile selezionare il database".mysql_error());
$elenco = mysql_query(SELECT * FROM prova WHERE citta=$cerca_citta);
while ($array = mysql_fetch_array($elenco)) {
echo ("$array[nome]", "$array[citta]", "$array[email]");
}
mysql_close();
?>
There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...