Commit 3c458fd663ba3fdbfbfacbd09664d7b0dccf3b5a

Authored by grouille
1 parent d3479236

MAJ

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
site/accesBase.php
@@ -95,7 +95,7 @@ @@ -95,7 +95,7 @@
95 function groupeId($id) 95 function groupeId($id)
96 { 96 {
97 $db = connexion(); 97 $db = connexion();
98 - $query = "SELECT groupe FROM groupes where id = '$id'"; 98 + $query = "SELECT nom FROM groupes where id = '$id'";
99 $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); 99 $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error());
100 $tab = pg_fetch_assoc($result); 100 $tab = pg_fetch_assoc($result);
101 deconnexion($db); 101 deconnexion($db);