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 "
Voir l'article
"; 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);