When I run the example php script I get an error: Fatal error: Call to a member function find() on a non-object in /mnt/133/sda/0/9/nigelstrang59/htmltry.php on line 6 - it seems to be saying that $html is not an object ....
here is the code (almost a copy paste from sourceforge) - any ideas?
// Pull in PHP Simple HTML DOM Parser
// Get the URL\'s current page content
$html = file_get_html(\'http://www.google.com/\');
$ret = $html->find(\'a\');
Log in to post a comment.