title: Get the values from each td
body: <p>I am using phpQuery to get the data from elements.</p>
  
  <p>I'm trying to get the values from first <code>td</code>, seconds <code>td</code> and <code>href</code> link from each <code>tr</code>.</p>
  
  <pre><code>&lt;table&gt;
    &lt;tr class="A2"&gt; 
      &lt;td&gt; Text 1 &lt;/td&gt;
      &lt;td&gt; Text 2 &lt;/td&gt;
      &lt;td&gt; Text 3 &lt;/td&gt;
      &lt;td&gt; &lt;a href="linkhere1"&gt;  Text 131&lt;/a&gt; &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr class="A2"&gt; 
      &lt;td&gt; Text 4 &lt;/td&gt;
      &lt;td&gt; Text 5 &lt;/td&gt;
      &lt;td&gt; Text 6 &lt;/td&gt;
      &lt;td&gt; &lt;a href="linkhere2"&gt;  Text 123213&lt;/a&gt; &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr class="A2"&gt; 
      &lt;td&gt; Text 7 &lt;/td&gt;
      &lt;td&gt; Text 8 &lt;/td&gt;
      &lt;td&gt; Text 9 &lt;/td&gt;
      &lt;td&gt; &lt;a href="linkhere3.php"&gt;  Text 213213 &lt;/a&gt; &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>How to do this? I have tried:</p>
  
  <pre><code>&lt;?
  require('phpQuery.php');
  
  $file = file_get_contents('test.txt', true);
  
  $html = phpQuery::newDocument($file);
  
  foreach($html-&gt;find('.A2')  as $tag) {                                           
    echo pq('td'); // problem here?
  }
  ?&gt;
  </code></pre>