not working

master
Jakob 2020-03-08 15:18:55 +01:00
parent 9f4bf5b0b0
commit e7949e4bfb
1 changed files with 11 additions and 11 deletions

View File

@ -7,17 +7,17 @@ if (!$error) {
$statement->execute(); $statement->execute();
foreach($statement->fetchAll() as $ROW) { foreach($statement->fetchAll() as $ROW) {
echo "<section>" echo "<section>"
echo " <h1>$ROW[id]</h1>" echo "<h1>$ROW[id]</h1>"
echo " <article>" echo "<article>"
echo " <header>" echo "<header>"
echo " <div>" echo "<div>"
echo " <p class='beige'>$ROW[user_id] <time datetime='$ROW[post_time]'>$ROW[post_time]</time></p>" echo "<p class='beige'>$ROW[user_id] <time datetime='$ROW[post_time]'>$ROW[post_time]</time></p>"
echo " </div>" echo "</div>"
echo " </header>" echo "</header>"
echo " <div class='postcontent'>" echo "<div class='postcontent'>"
echo " <p>$ROW[content]</p>" echo "<p>$ROW[content]</p>"
echo " </div>" echo "</div>"
echo " </article>" echo "</article>"
echo "</section>" echo "</section>"
} }
} }