Doing print_r()
on my array I get the following:
Array (
[0] =>
stdClass Object
(
[id] => 25
[time] => 2014-01-16 16:35:17
[fname] => 4
[text] => 5
[url] => 6
)
)
How can I access a specific value in the array? The following code does not work because of the stdClass Object
echo $array['id'];
echo $array[0]->id;
– Mark Baker Jan 16 at 17:15