title: How to check two attributes with Simple HTML DOM?
body: <p>I need to get a very specific tag using Simple HTML DOM, and have to check two attributes to do this, but I'm not sure how. Right now I have this:</p>
  
  <pre><code>foreach($html-&gt;find("ul[class=someclass]") as $step1)
  </code></pre>
  
  <p>But within that same <code>&lt;ul&gt;</code> tag there is also an <code>id</code> attribute that equals, let's say, "xyz". So how can I check both? I'm assuming something like this (although it doesn't seem to work):</p>
  
  <pre><code>foreach($rt_html-&gt;find("ul[class=results_ul, id=xyz]") as $step1)
  </code></pre>
  
  <p>Any help?</p>