I am trying to get data from a JSON page: http://www.oref.org.il/WarningMessages/alerts.json
I am getting errors.
How do I get the "data" array from the JSON?
Here is an example of what I am doing:
$homepage = file_get_contents('http://www.oref.org.il/WarningMessages/alerts.json');
$result = json_decode($result);
$result = utf8_encode($result);
print_r($result);