Hopefully a very easy question for you. I have a PHP object, one of the properties has brackets in it (from using MIN mysql command):
stdClass Object ( [uid] => 5 [min(time)] => 13.40 )
how can I call this property? I have tried all sorts but nothing seems to work, and cannot seem to find any info on the interwebs.
Thanks very muchly!
you could modify your select statement to give the field an alias like:
then your returned object should have this indexed like so $obj->min_time.
i hope this helps.