BuLi-Tipp hinzugefügt

This commit is contained in:
R40fendt
2025-05-06 10:30:33 +02:00
parent 976f617c32
commit 899d7c4fc6
8 changed files with 266 additions and 0 deletions

15
bulitipp/get-users.php Executable file
View File

@@ -0,0 +1,15 @@
<?php
header("Access-Control-Allow-Origin: *");
include("./check.php");
$data=[];
foreach(srowforeach("SELECT `id`, `kuerzel`, `username` from `buli-user`;",[]) as $key=>$value){
$data[$key]["id"]=$value[0];
$data[$key]["kuerzel"]=$value[1];
$data[$key]["name"]=$value[2];
}
$result=["reload"=>$reload,"data"=>$data];
echo json_encode($result, JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE);