I'm getting this error:
Warning: Invalid argument supplied for foreach() in [page].php on line 49
This is an echo of the $json variable:
[{"d":"2011-03-26","q":1,"t":1060},{"d":"2011-03-26","q":2,"t":1060},{"d":"2011-03-26","q":1,"t":1060}]
And I'm trying to iterate through like so:
foreach($json as $obj) { // <--THIS IS LINE 49
// Stuff
}