Ver originalif (mysql_num_rows($result) > 0) { $row = mysql_fetch_row($result); echo $row[0]; // the email value } else { echo "La cuenta no existe"; }