How would I call the id by itself?
Array
(
[0] => Array
(
[_id] => MongoId Object
(
[$id] => 4f98930cb1445d0a7d000001
)
)
)
I thought it would be:
echo $userInfo[0]['_id']->['$id'];