From 6bfaf251a0f90140b421225a52757e061907c093 Mon Sep 17 00:00:00 2001 From: grouille Date: Tue, 14 Apr 2020 19:14:47 +0200 Subject: [PATCH] Ajout compte --- site/accesBase.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/site/accesBase.php b/site/accesBase.php index 61ae7b1..c1f316d 100644 --- a/site/accesBase.php +++ b/site/accesBase.php @@ -60,10 +60,9 @@ } } - /*function getGroupe($id) + function getGroupe($id) { $db = connexion(); - echo "doeoee"; $query = "SELECT groupe FROM membres where identifiant = '$id'"; $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); $tab = pg_fetch_assoc($result); @@ -71,7 +70,7 @@ return $tab['groupe']; } - functin getGroupes() + /*functin getGroupes() { $db = connexion(); $query = "SELECT * FROM groupes"; -- libgit2 0.21.2