w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
PHP Simple HTML DOM Parser [fatal error Call to a member function find() on a non-object ]

You forgot to add the function name file_get_html, the code should be like this:

  include 'simple_html_dom.php';

  $html =
  foreach($html->find('span[class=active.sl_notranslate]') as $aholder)

    echo $aholder . '<br>';


© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.