Jump to content
Larry Ullman's Book Forums

gudchyld

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by gudchyld

  1. Been trying my best at the review and pursue section for chapter 15, login_ajax.php where it said *Modify login_ajax.php so that it uses a database to confirm successful login.* this is what i've tried so far, whatever i do, the response i get seems to always be "INCORRECT" and then the ajax script never logs me in my code so far: <?php if (isset($_GET['email'], $_GET['password'])){ $email = $_GET['email']; $password = $_GET['password']; // Need a valid email address: if (filter_var($email, FILTER_VALIDATE_EMAIL)) { // must match specific values:
×
×
  • Create New...