still some bugs and auth issues to iron out. need to implement a new action button/bar, the card for moments in a space, creating new moments and essays, dynamically refreshing the spaces view when a new post is created.

This commit is contained in:
2025-05-20 19:46:09 -06:00
parent a93c30c40f
commit 54a01f0f1f
20 changed files with 1018 additions and 1191 deletions
+8 -3
View File
@@ -29,10 +29,15 @@ function exec_stmt($stmt, $param_types, ...$args)
$stmt->bind_param($param_types, ...$args);
$stmt->execute();
$result = $stmt->get_result();
if ($result)
if ($result) {
$conn->close();
return $result;
else
return mysqli_insert_id($conn);
} else {
$id = mysqli_insert_id($conn);
$conn->close();
return $id;
}
}
function get_connection()