This commit is contained in:
Kilian committed 2024-07-13 17:59:54 +02:00
1 parent 4d25387a47
commit 03da043be3
9 files changed
+106 -6

No files matched your search

+12 -1
View File
@@ -11,5 +11,16 @@ switch ($method) {
function get()
{
Response::api("GET USERS");
$db = Database::getInstance();
$query =
"SELECT
*
FROM
egb_benutzer";
$stmt = $db->prepare($query);
$stmt->execute();
Response::api($stmt->fetchAll());
}