How to create a request for PHP Simple HTML DOM Parser?
Given the code , it is from the Feed vkontakte:
<h5 class="post_author"><a class="author" href="/kopter_86" data-from-id="7871209" data-post-id="7871209_3485">Назар Добровський</a> <span class="explain">поделился ссылкой</span></h5>
Task : To parse all the values (figures) of data-from-id = "7871209", the output should be the result: 7871209, 4134142, and so on.
First, as a rule, we connect the class and the file.
include ('simple_html_dom.php'); $ html = file_get_html ('test.html');
and then I did not understand, help