echo $value[‘title’]; echo $value[‘description’]; } ?>


<?php

// get data
$data = file_get_contents('https://Artemis-api.eventkaddy.net/sessions/mobile_data_sessions_only/291/0?callback=');
$json = json_decode($data, true);

// sort data by day
foreach ($json as $j_key => $j_value){
foreach ($j_value as $key => $value){
if($value['date'] == '2021-08-23') {
$day1[] = $value;
}
if($value['date'] == '2021-08-24') {
$day2[] = $value;
}
if($value['date'] == '2021-08-25') {
$day3[] = $value;
}
if($value['date'] == '2021-08-26') {
$day4[] = $value;
}
}
}

// show day 1 content
foreach ($day1 as $key => $value) { ?>
echo $value['title'];
echo $value['description'];
}
?>

[xyz-ips snippet=”Conference-APP-API-code”]