What code would I would use to get the information a div that contains both an id and a class?
For example how would I use PHP Simple DOM Parser to view this div?
<div id="the-id" class="the-class">
I know that I use $html->find('div[id=the-id]', 0); if there is only an id in the div, but how do I parse a div with a class and id?
Can you just expand the css-like selector?
I haven’t tested, but I think any one of the following should produce the result you want.