I'm trying to get innertext with Simple Html DOM from following code: <br />This text is what i want
Tried this, but it doesn't give any data. It's the text between <br />
and </td>
$html = file_get_html('File.html');
foreach ( $html->find('br td') as $element ) {
echo $element->innertext . '
';
}
Can someone please help me?
