I need a part of code html by a file from file_get_contents(url)
I do
$variableee = file_get_contents("http://url.com/path/to/file");
echo $variableee;
Ok now in Variableee I've all the url's code. In this code there is a part that I need. I need a table with class name "table".
Es.
<div>text</div>
<span> text </span>
<table class="table">
<tr><td>Text that I need</td></tr>
</table>
How I can get it? Sorry for bad english.