title: Fetch content of all div with same class using PHP Simple HTML DOM Parser
body: <p>I am new to HTML DOM parsing with PHP, there is one page which is having different content in its  but having same 'class', when I am trying to fetch content I am able to get content of last div, Is it possible that somehow I could get all the content of divs having same class request you to please have a look over my code:</p>
  
  <pre><code>&lt;?php
      include(__DIR__."/simple_html_dom.php");
      $html = file_get_html('http://campaignstudio.in/');
      echo $x = $html-&gt;find('h2[class="section-heading"]',1)-&gt;outertext; 
  ?&gt;
  </code></pre>