title: How to use PHP Simple DOM Parser for a div that has an id and class?
body: <p>What code would I would use to get the information a div that contains both an id and a class?
  For example how would I use PHP Simple DOM Parser to view this div?</p>
  
  <pre><code>&lt;div id="the-id" class="the-class"&gt;
  </code></pre>
  
  <p>I know that I use <code>$html-&gt;find('div[id=the-id]', 0);</code> if there is only an id in the div, but how do I parse a div with a class and id?</p>