I'm doing a print_r
on an object that is returned after running a query. Here is my print_r
log.
stdClass Object
(
[MAX(sort_order)] => 3
)
I want to get the value inside [MAX(sort_order)]
but I cant figure out how to target it from within php.
Like $sort_order = $object->[MAX(sort_order)];
(I know that won't work)
Does anyone know how I can do this?