PHP Multidimensional Array Help

I have assigned my array to the $data variable. You can view the array here I then tried to echo part of the array using:

[php]echo $data[0][‘timestamp’];[/php]

For some reason I am receiving the entire array. View here.

I was expecting to get back one value like 1367539200.

I must not be trying to retrieve the data properly and can’t seem to figure out how to call on single values from the array. Any help would be greatly appreciated.


You appear to be doing it right. Can you post your full code (at least for this section)?

Sponsor our Newsletter | Privacy Policy | Terms of Service