diff --git a/admin/gestion_des_acces.php b/admin/gestion_des_acces.php index fd1e2fe..970d50a 100644 --- a/admin/gestion_des_acces.php +++ b/admin/gestion_des_acces.php @@ -111,6 +111,7 @@ if(isset($_POST['send'])) { $req = $db->prepare("SELECT id FROM admin WHERE pseudo = ?"); $req->execute(array($pseudo)); $pseudo_exist = $req->rowCount(); + echo("count"); if ($pseudo_exist == 0) { $req = $db->prepare("INSERT INTO admin(pseudo, perm) VALUES(?, ?)"); $req->execute(array($pseudo, $perm_int));