I have some html input from the user, I want to find all occurences of
<span class="widget-tag"></span>
This is what I have so far:
$d = new DOMDocument();
$d->loadHTML($html);
I don't know which function to use next.
Any help would be great.
Thanks
Jason