perfetto funziona a meravigli..posto la soluzione usata..grazie mille dell aiuto
$dati="SELECT nome_utente FROM registrazione_utente where nome_utente = '".$nome."'";
$res=mysql_query($dati);
if(!$res){
echo"no";
}
$num_rows = mysql_num_rows($res);
if($num_rows==true){
echo "1";
}else{
echo"0";
}

Rispondi quotando