diff --git a/site/accesBase.php b/site/accesBase.php
index 91f9e4e..05c7668 100644
--- a/site/accesBase.php
+++ b/site/accesBase.php
@@ -63,6 +63,7 @@
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);
diff --git a/site/header.php b/site/header.php
index 1c75db6..edbca9f 100644
--- a/site/header.php
+++ b/site/header.php
@@ -17,10 +17,10 @@
Graphiques
Valeurs
Compte';
- //}
+ if(getGroupe($_SESSION['Login'])==0)
+ {
+ echo ' Compte';
+ }
?>
Deconnexion