rough implementations of Moment and Essay creation and viewing completed.

This commit is contained in:
2025-06-04 14:53:02 -06:00
parent 088e0cc5a3
commit becfbc3628
14 changed files with 465 additions and 134 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ class Space
foreach ($rawMembers as $m)
$members[] = User::retrieveFromDB($m['user']);
$stmt = 'SELECT post FROM spacePosts INNER JOIN post ON spacePosts.post = post.id WHERE space = ? ORDER BY post.createdAt DESC';
$stmt = 'SELECT post FROM spacePosts INNER JOIN post ON spacePosts.post = post.id WHERE post.space = ? ORDER BY post.createdAt DESC';
$posts = [];
$rawPosts = exec_stmt($stmt, 'i', $rawSpace['id']);
while ($row = $rawPosts->fetch_assoc())