Update file journal.php

This commit is contained in:
Jan BELLON 2024-03-07 03:05:07 +00:00
parent b8e2e4a1bf
commit 5cf5c22714

View File

@ -61,7 +61,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) {
if ($resultat) {
foreach($resultat as $row) {
echo "<div class='article'><div><a href='?article=" . $row['ID'] . "'><h2>" . $row['titre'] . "</h2></a></div><div>" . $row['auteur'] . "</div><div>" . $date->format('d/m/Y') . "</div></div>";
echo "<div class='article'><div><a href='?article=" . $row['ID'] . "'><h1>" . $row['titre'] . "</h1></a></div><div><h2>" . $row['auteur'] . "</h2></div><div>" . $date->format('d/m/Y') . "</div></div>";
}
}
}