title: how to use dom php parser
body: <p>I'm new to DOM parsing in PHP:<br>
  I have a HTML file that I'm trying to parse. It has a bunch of DIVs like this:</p>
  
  <pre><code>&lt;div id="interestingbox"&gt; 
     &lt;div id="interestingdetails" class="txtnormal"&gt;
          &lt;div&gt;Content1&lt;/div&gt;
          &lt;div&gt;Content2&lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div id="interestingbox"&gt; 
  ......
  </code></pre>
  
  <p>I'm trying to get the contents of the many div boxes using php.
  How can I use the DOM parser to do this?</p>
  
  <p>Thanks!</p>