diff --git a/controllers/auth_ctrl2.php b/controllers/auth_ctrl2.php new file mode 100644 index 0000000..04e05e9 --- /dev/null +++ b/controllers/auth_ctrl2.php @@ -0,0 +1,63 @@ +prepare($req); + $prep->bindValue(':id', $id); + $prep->execute(); + $auth = $prep->fetch(PDO::FETCH_ASSOC); + $prep->closeCursor(); + return $auth; + } + \ No newline at end of file diff --git a/views/auth_ctrl.php b/views/auth_ctrl.php new file mode 100755 index 0000000..05a2948 --- /dev/null +++ b/views/auth_ctrl.php @@ -0,0 +1,65 @@ +Page d\'authentification'; echo '
'; #require('footer.php');