Update file journal.php
This commit is contained in:
parent
910d108af9
commit
582b53fff8
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user