Commit 58f9717f57a2af0a3f83e4404eeefbc029349db3

Authored by grouille
1 parent d09dbbe6

Ajout compte

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
site/accesBase.php
@@ -63,7 +63,7 @@ @@ -63,7 +63,7 @@
63 function getGroupe($id) 63 function getGroupe($id)
64 { 64 {
65 $db = connexion(); 65 $db = connexion();
66 - $query = "SELECT groupe FROM membres identifiant = '$id'"; 66 + $query = "SELECT groupe FROM membres where identifiant = '$id'";
67 $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); 67 $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error());
68 $tab = pg_fetch_assoc($result); 68 $tab = pg_fetch_assoc($result);
69 deconnexion($db); 69 deconnexion($db);