Hi all
I was wondering if there was a way of getting all the data in
item[0]
into a mysql db.
This is for my website, and i don't want to visit all the site to get the content.
The example:
$load = new DOMDocument;
$load->loadHTMLFile('http://www.website/index.php');
echo $load->getElementsByTagName('table')->item(0)->textContent;
The above code displays all the date between the table, i just need it to be saved to a mysql db.
Thanks All