diff --git a/site/accesBase.php b/site/accesBase.php index de763ba..06d1eb7 100644 --- a/site/accesBase.php +++ b/site/accesBase.php @@ -99,7 +99,7 @@ $result = pg_query($db, $query) or die("La requête a echoué : ".pg_last_error()); $tab = pg_fetch_assoc($result); deconnexion($db); - return $tab['groupe']; + return $tab['nom']; } function getGroupes() diff --git a/site/formInscription.php b/site/formInscription.php index 68b1f50..e296687 100644 --- a/site/formInscription.php +++ b/site/formInscription.php @@ -6,7 +6,7 @@ $groupes = getGroupes();
- | + |