Update file journal.php

This commit is contained in:
Jan BELLON 2024-03-07 14:21:51 +00:00
parent 910d108af9
commit 582b53fff8

View File

@ -50,7 +50,9 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) {
require_once '../include/parsedown.php';
$parsedown = new Parsedown();
echo "<div class='article'><div class='article-content'>";
echo $parsedown->text($markdownContent);
echo "</div></div>";
} else {
$bdd = connect($dbhost, $dbname, $dbuser, $dbpass);
$req = $bdd->prepare("SELECT ID, titre, date, auteur FROM articles ORDER BY date DESC");