3
1
Back

New DOMDocument(); $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if (anchor_hole=="right" || anchor_hole=="both") .

New Pull Request