<?php $html = <<<HTML <a href="http://aaa.com">http://aaa.com</a> HTML; $dom = new DomDocument($html); foreach ($dom->getElementsByTagName('a') as $link) { var_dump($link->getAttribute('href')); }
You have javascript disabled. You will not be able to edit any code.