title: How to echo innertext using Simple HTML dom parser
body: <p>HTML Source Code:</p>
  
  <pre><code>&lt;div id="ctl00_ContentPlaceHolder_Middle_RatingSummary1_Rating1_RatingPanel"&gt;
  &lt;img id="ctl00_ContentPlaceHolder_Middle_RatingSummary1_Rating1_RatingImage" title="(2.5 / 5)  : Above Average" src="../../../../../images/net/common/stars/transparent/2.5.png" alt="(2.5 / 5)  : Above Average" style="border-width:0px;" /&gt;
  &lt;span id="ctl00_ContentPlaceHolder_Middle_RatingSummary1_Rating1_RatingText" class="text med strong"&gt;(2.5 / 5)  : Above Average&lt;/span&gt;
  &lt;a id="ctl00_ContentPlaceHolder_Middle_RatingSummary1_Rating1_RatingHelp" class="help"&gt;&lt;/a&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want Output like this:</p>
  
  <pre><code>(2.5 / 5)  : Above Average
  </code></pre>
  
  <p>I tried it, but not Getting it:</p>
  
  <p>Php code:</p>
  
  <pre><code>$ratings = $html-&gt;find('div[id=ctl00_ContentPlaceHolder_Middle_RatingSummary1_Rating1_RatingPanel] span')-&gt;outertext;
  
  echo "$ratings[0]"; 
  </code></pre>