title: Mongodb php get id of new document?
body: <p>Creating a document:</p>
  
  <pre><code>$db-&gt;collection-&gt;insert($content);
  // $newDocID = ???
  </code></pre>
  
  <p>I'm trying to get the new document's id. How? Thanks.</p>