" . $post['content'] . "
+=$post['content']?>
diff --git a/website/public/img/nietslecht_small.png b/website/public/img/nietslecht_small.png new file mode 100644 index 0000000..bb44b90 Binary files /dev/null and b/website/public/img/nietslecht_small.png differ diff --git a/website/views/post-view.php b/website/views/post-view.php index d961334..11a985a 100644 --- a/website/views/post-view.php +++ b/website/views/post-view.php @@ -3,22 +3,21 @@ $postID = $_GET['postID']; $post = selectPostById($postID)->fetch(PDO::FETCH_ASSOC); $fullname = $post['fname'] . " " . $post['lname'] . " (" . $post['username'] . ")"; session_start(); - -echo(" +?>
" . $post['content'] . "
+=$post['content']?>