diff --git a/website/public/API/postComment.php b/website/public/API/postComment.php new file mode 100644 index 0000000..c5b30cc --- /dev/null +++ b/website/public/API/postComment.php @@ -0,0 +1,16 @@ +prepare(" + $stmt = $GLOBALS["db"]->prepare(" INSERT INTO `comment` ( `postID`, diff --git a/website/views/post-view.php b/website/views/post-view.php index 044c23e..0f091a6 100644 --- a/website/views/post-view.php +++ b/website/views/post-view.php @@ -21,8 +21,9 @@ echo("
-
-
+ + +
diff --git a/website/views/profile.php b/website/views/profile.php index 19b9eae..404d957 100644 --- a/website/views/profile.php +++ b/website/views/profile.php @@ -58,9 +58,9 @@ if ($_SESSION["userID"] === $userID) { ?>
-
- - + + +