How to retrieve value with Simple HTML DOM parser.
Example:
<td class="tabData" valign="top"><a href="anouncement.asp?s=51&id=1635872">some string</a> </td>
I need value: Some string
.
Problem are values 51
and id = "1635872"
are not constant.
Assuming the DOM is in $dom
:
$value = $dom->find("td.tabData a", 0)->plainText