I have the following array called "$order" (as printed out by "print_r"):
stdClass Object
(
[products] => Array
(
[0] => stdClass Object
(
[data] => Array
(
[attributes] => Array
(
[ID] => Array
(
[0] => 57
)
)
)
)
)
)
My question is, how do I reference "57"? I thought it would be something like this:
$order->products[0]->data[attributes][ID][0];
But this doesn't work. What am I missing?