- file_get_contents: documentation ( source)
- json_decode: documentation ( source)
- array_walk_recursive: documentation ( source)
<?php
$url="http://fbclaurel.onthecity.org/plaza/events?format=json";
$data = file_get_contents($url);
$json = json_decode($data);
//echo '<pre>';
//print_r( $json[0]->global_event);
array_walk_recursive($json[0]->global_event, function ($v,$k){
echo 'KEY :'.$v.' & Value :'.$k.'<br>';
});