I have a JSON feed and within the feed, there is an array inside the feed, I can output everything above the array correctly.
JSON feed output: http://pastebin.com/pxiFVm1d
Code used to output:
$jsonurl = "LINK to feed";
$json = file_get_contents($jsonurl,0,null,null);
$json_output = json_decode($json);
foreach ( $json_output->results as $results )
{
echo "{$results->name}.<br />";
}
How do I output the photo_rerence which is part of the array (see pastebin)?