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-----------'; ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.