Ver originalif(trim($HTTP_POST_VARS["nick"]) != "" && trim($HTTP_POST_VARS["password"]) != "")
Ver original$result = mysql_query("SELECT password FROM usuarios WHERE nick='$nickN'");