[PHP]
$ris = mysql_query("select * from accesso whare user =$user");
If(mysql_num_row($ris)>0)