Wondering why my PHP code will not display all \"Value\" of \"Values\" in the JSON data:
$user = json_decode(file_get_contents($analytics)); foreach($user-&g
You maybe wanted to do the following:
foreach($user->data as $mydata) { echo $mydata->name . "\n"; foreach($mydata->values as $values) { echo $values->value . "\n"; } }