not working
parent
9f4bf5b0b0
commit
e7949e4bfb
|
@ -7,17 +7,17 @@ if (!$error) {
|
|||
$statement->execute();
|
||||
foreach($statement->fetchAll() as $ROW) {
|
||||
echo "<section>"
|
||||
echo " <h1>$ROW[id]</h1>"
|
||||
echo " <article>"
|
||||
echo " <header>"
|
||||
echo " <div>"
|
||||
echo " <p class='beige'>$ROW[user_id] <time datetime='$ROW[post_time]'>$ROW[post_time]</time></p>"
|
||||
echo " </div>"
|
||||
echo " </header>"
|
||||
echo " <div class='postcontent'>"
|
||||
echo " <p>$ROW[content]</p>"
|
||||
echo " </div>"
|
||||
echo " </article>"
|
||||
echo "<h1>$ROW[id]</h1>"
|
||||
echo "<article>"
|
||||
echo "<header>"
|
||||
echo "<div>"
|
||||
echo "<p class='beige'>$ROW[user_id] <time datetime='$ROW[post_time]'>$ROW[post_time]</time></p>"
|
||||
echo "</div>"
|
||||
echo "</header>"
|
||||
echo "<div class='postcontent'>"
|
||||
echo "<p>$ROW[content]</p>"
|
||||
echo "</div>"
|
||||
echo "</article>"
|
||||
echo "</section>"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue