Backend für Modals hinzugefügt
This commit is contained in:
@@ -7,8 +7,8 @@ if(!isset($_GET["spieltag"])) die("GET spieltag fehlt");
|
||||
$spieltag=$_GET["spieltag"];
|
||||
|
||||
$data=[];
|
||||
foreach (srowforeach("SELECT `heim`,`gast` from `buli-paarungen` where `spieltag`=?;",[$spieltag]) as $key => $value) {
|
||||
array_push($data,[$value[0],$value[1]]);
|
||||
foreach (srowforeach("SELECT `heim`,`gast`, `id` from `buli-paarungen` where `spieltag`=?;",[$spieltag]) as $key => $value) {
|
||||
array_push($data,[$value[0],$value[1],$value[2]]);
|
||||
}
|
||||
|
||||
$result=["reload"=>$reload,"data"=>$data];
|
||||
|
||||
Reference in New Issue
Block a user