From c97d3fb63af5c813cf3498f0e6b92dc9ba35e893 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Mon, 11 Mar 2024 15:40:14 +0000 Subject: [PATCH] Update file news.php --- html/news.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/html/news.php b/html/news.php index 217a9107..84017122 100644 --- a/html/news.php +++ b/html/news.php @@ -72,10 +72,12 @@ if (isset($_GET['article']) && filter_var($_GET['article'], FILTER_VALIDATE_INT) if ($resultat) { foreach($resultat as $row) { $date = strtotime($row['date']); - echo "
"; + echo "

"; echo ""; echo "
" . $row['titre'] . "
"; - echo "
"; + echo ""; + echo "
" . $row['auteur'] . "
"; + echo "
" . $row['ID'] . "
"; } } else { echo "Aucun article trouvé";