Foto-Event Debug, Minitexte hinzugefügt
This commit is contained in:
@@ -12,8 +12,9 @@ foreach(srowforeach("SELECT * from `ritzenbergen-events`",[]) as $key => $value)
|
|||||||
$datum=$value[2];
|
$datum=$value[2];
|
||||||
$type=$value[3];
|
$type=$value[3];
|
||||||
$content=$value[4];
|
$content=$value[4];
|
||||||
$link=$value[5];
|
$minitext=$value[5];
|
||||||
$foto=$value[6];
|
$link=$value[6];
|
||||||
|
$foto=$value[7];
|
||||||
array_push($result,[
|
array_push($result,[
|
||||||
"id" => $id,
|
"id" => $id,
|
||||||
"eventname" => $eventname,
|
"eventname" => $eventname,
|
||||||
@@ -21,8 +22,9 @@ foreach(srowforeach("SELECT * from `ritzenbergen-events`",[]) as $key => $value)
|
|||||||
"type" => $type,
|
"type" => $type,
|
||||||
"content" => $content,
|
"content" => $content,
|
||||||
"link" => $link,
|
"link" => $link,
|
||||||
"foto" => $foto
|
"foto" => $foto,
|
||||||
|
"minitext" => $minitext
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo json_encode($result,JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
|
echo json_encode($result,JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
|
||||||
|
|||||||
Reference in New Issue
Block a user