I am using simple html dom to parse html page..... This is my code..
include('simple_html_dom.php');
$html = file_get_html($my_url);
foreach($html->find('div') as $ul) {
echo $ul;
}
And i have also tried many other ways . Still i get this error. Error:
Call to a member function find() on a non-object
I have tried out with other tags as well...
$html->find('a');
$html->find('h3');
//But still same above error
Can anyone plz help me out wit the error..Thanks in advance