Commit 6bfaf251a0f90140b421225a52757e061907c093

Authored by grouille
1 parent 013b87b3

Ajout compte

Showing 1 changed file with 2 additions and 3 deletions   Show diff stats
site/accesBase.php
... ... @@ -60,10 +60,9 @@
60 60 }
61 61 }
62 62  
63   - /*function getGroupe($id)
  63 + function getGroupe($id)
64 64 {
65 65 $db = connexion();
66   - echo "doeoee";
67 66 $query = "SELECT groupe FROM membres where identifiant = '$id'";
68 67 $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error());
69 68 $tab = pg_fetch_assoc($result);
... ... @@ -71,7 +70,7 @@
71 70 return $tab['groupe'];
72 71 }
73 72  
74   - functin getGroupes()
  73 + /*functin getGroupes()
75 74 {
76 75 $db = connexion();
77 76 $query = "SELECT * FROM groupes";
... ...