From 8fbd300cf3c3b8f7394129b8313fae03ee3660e1 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Fri, 8 Mar 2024 10:30:30 +0000 Subject: [PATCH] Update file users.php --- html/users.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/users.php b/html/users.php index 28381092..522d9021 100644 --- a/html/users.php +++ b/html/users.php @@ -62,14 +62,14 @@ if(isset($_POST['userid']) && isset($_POST['role']) && isset($_POST['accreditati
prepare("SELECT ID, display_name, username, email, role FROM users ORDER BY creation_date DESC"); + $req = $bdd->prepare("SELECT ID, display_name, username, email, role, accreditation FROM users ORDER BY creation_date DESC"); $req->execute(); $resultat = $req->fetchAll(PDO::FETCH_ASSOC); if ($resultat) { foreach($resultat as $row) { echo "
Nom : " . $row['display_name'] . "
login : " . $row['username'] . "
Email : " . $row['email'] . "