jhanquar Posted March 14, 2011 Share Posted March 14, 2011 Hello i'm a mongodb user and i'm testing a script. I'm sure that in the collection features there are json documents. But when I use the find function it gives me a null can someone help me please <?php $m= new Mongo(); echo '1++++++++++++'; var_dump($m); $mongodb = $m->arraycghbase_mongo; echo '2------------'; var_dump($mongodb); $features = $mongodb->features; var_dump($features); echo '3++++++++++'; $results = $features->find(); var_dump($results); echo '4-----------'; ?> Link to comment https://forums.phpfreaks.com/topic/230604-mongodb-find/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.