Browse Source

Registration form

if-else
LanderNeufcourt 3 years ago
parent
commit
d55058d468
1 changed files with 0 additions and 19 deletions
  1. 0
    19
      login.php

+ 0
- 19
login.php View File

@@ -24,25 +24,6 @@
echo "Gebruiker bestaat niet";
echo "<a href=\"index.php\">Sign up</a>";
}
//$stmt_insert = $db->prepare("INSERT INTO users('login', 'password') VALUES(:usrn, :pass)");
//$stmt_insert->bindValue(":usrn", $username, SQLITE3_TEXT);
//$stmt_insert->bindValue(":pass", $password, SQLITE3_TEXT);
//$res = $stmt_insert->execute();
//if ($res){
// echo "Gebruiker " . $username . " aangemaakt.";
//} else {
// $errorCode = $db->lastErrorCode();
// $errorMessage = $db->lastErrorMsg();
// echo "Database error wiht ocde " . $errorCode . " and message " . $errorMessage;
//}
//Wat bij duplicates?
}

Loading…
Cancel
Save