Codice PHP:
$risultato mysql_query("SELECT nome FROM datiuser WHERE username='$user'");