I’m planning to write a program that scrapes information from various websites to create a central database. What’s the difference between file_get_html(‘http://www.example.com’) and $doc = new DOMDocument();
@$doc->loadHTMLFile(‘http://www.example.com’)
any tips or links to tutorials would be much appreciated