Jump to content

Glindet

New Members
  • Posts

    1
  • Joined

  • Last visited

Glindet's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hello pls i have been facing this error for days now . can someone help me to fix it. the bold line is the one having the warning message. if($answer["username"] == $_POST["loginUser"] && $answer["password"] == $encryptpass) { $_SESSION["loggedIn"] = "ok"; $_SESSION["id"] = $answer["id"]; $_SESSION["name"] = $answer["name"]; $_SESSION["username"] = $answer["username"]; $_SESSION["picture"] = $answer["picture"]; $_SESSION["profile"] = $answer["profile"]; echo '<script> window.location = "home"; </script>'; } else { echo '<br><div class="alert alert-danger">User or password incorrect</div>'; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.