asked on
<?php
// example of how to use basic selector to retrieve HTML contents
include('simple_html_dom.php');
// grab the list of urls
$html = file_get_html('https://system.playtimenurseries.com/children/');
// find all link
foreach($html->find('a') as $e) {
$link = $e->href . '/invoices/2016/11';
foreach ($link as $p)
{
$html2 = file_get_html($p);
foreach($html2->find('div#gbar') as $i){
echo $i->innertext . '<br>';
}
}
}
?>