title: how to print cells of a table with simple html dom
body: <p>i have this html code. Im using Simple HTML Dom to parse the data into my own php script.</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;td class="header"&gt;Name&lt;/td&gt;
          &lt;td class="header"&gt;City&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td class="text"&gt;Greg House&lt;/td&gt;
          &lt;td class="text"&gt;Century City&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td class="text"&gt;Dexter Morgan&lt;/td&gt;
          &lt;td class="text"&gt;Miami&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I need to get the text inside the TDs in an array, example:</p>
  
  <p>$array[0] = array('Greg House','Century City');
  $array[1] = array('Dexter Morgan','Miami');</p>
  
  <p>I've tried several ways to get that but i've fail in each and everyone of them. Can someone give me a hand?</p>