First components for project - User Interface

This commit is contained in:
ccunatbrule
2023-02-02 16:28:06 +01:00
committed by GitHub
parent 9a513b128e
commit 9c9b508096
45 changed files with 1148 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<?php
function check_Password()
{
global $bdd;
$req = $bdd->prepare('SELECT mdp, idclient, privilege, pseudo FROM Client WHERE pseudo = :pseudo');
$req->bindValue(':pseudo',$_POST['pseudo'], PDO::PARAM_STR);
$req->execute();
$data = $req->fetch();
return $data;
}