From f25bed6a966fc8663d30b1f555b88b01703dcf75 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Mon, 11 Mar 2024 18:40:19 +0000 Subject: [PATCH] Update file editpage.php --- html/editpage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/editpage.php b/html/editpage.php index ffe6113a..678a3f15 100644 --- a/html/editpage.php +++ b/html/editpage.php @@ -131,7 +131,7 @@ if(isset($fichier)) { echo "
"; if(isset($_GET['article'])) { $bdd = connect($dbhost, $dbname, $dbuser, $dbpass); - $req = $bdd->prepare("SELECT classification, titre, image FROM articles WHERE ID = :article"); + $req = $bdd->prepare("SELECT classification, titre, image, resume FROM articles WHERE ID = :article"); $req->bindParam(":article", $_GET['article']); $req->execute(); $resultat = $req->fetchAll(PDO::FETCH_ASSOC);