Hello.
Explain to me why the find () does not want to work in domDocument'e? I try to do this:
// создаю новый объект класса $dom = new DOMDocument('1.0', 'UTF-8'); // получаю контент @$dom->loadHTML($my_html); // убираю пробелы $dom->preserveWhiteSpace = false; // извлекаю все теги ссылок $links = $dom->getElementsByTagName('table')->find('a'); Error output
Call to undefined method DOMNodeList :: find ()
DOMNodeList::findmethod exists? Of the documentation of such a method does not know - Dmitriy Simushev