Update file journal.php
This commit is contained in:
parent
582b53fff8
commit
b0c85e6fd4
@ -58,7 +58,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) {
|
|||||||
$req = $bdd->prepare("SELECT ID, titre, date, auteur FROM articles ORDER BY date DESC");
|
$req = $bdd->prepare("SELECT ID, titre, date, auteur FROM articles ORDER BY date DESC");
|
||||||
$req->execute();
|
$req->execute();
|
||||||
$resultat = $req->fetchAll(PDO::FETCH_ASSOC);
|
$resultat = $req->fetchAll(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
$date = new Datetime($row['date']);
|
$date = new Datetime($row['date']);
|
||||||
|
|
||||||
if ($resultat) {
|
if ($resultat) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user