LanderNeufcourt 3 лет назад
Родитель
Сommit
d55058d468
1 измененных файлов: 0 добавлений и 19 удалений
  1. 0
    19
      login.php

+ 0
- 19
login.php Просмотреть файл

@@ -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?
}

Загрузка…
Отмена
Сохранить