title: MongoDB/PHP.. How to write select queries?
body: <p>How to write find query in mongo db to select certain values. For example</p>
  
  <pre><code>IN MYSQL - SELECT * from things where id=3;
  IN Mongo - thingscollection-&gt;find(array("_id" =&gt; $id))
  </code></pre>
  
  <p>suppose if the MYSQL query looks like this,</p>
  
  <pre><code>SELECT name,age from things where id=3;
  </code></pre>
  
  <p>I am wondering how to write find query in PHP/MongoDB to select specific values?</p>