I'm fetching data from another website using file_get_contents()
, but I need to extract a multiple tables records with class inputpanelfields,
$d = new DOMDocument
libxml_use_internal_errors(true)
$d->loadHTML($html)
$table = $x->query('//table[contains(@class, "inputpanelfields")]')
How can I do this?