Menu

#45 loading url from multidimensional array

closed
None
2018-12-08
2010-05-12
Anonymous
No

Hi, I'm fairly new to php's arrays so this problem might be just because of lack of my expirience.
but anyways when I try to load url from multidimensional array:
$array["site"]["sometext"] = "http://etcetcetc.com";

using:
$html->load_file($array["site"]["sometext"]);

I get following error: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /var/www/nuusku/libs/simplehtmldom/simple_html_dom.php on line 555

any insights?

Discussion

  • LogMANOriginal

    LogMANOriginal - 2018-12-08
    • status: open --> closed
    • assigned_to: LogMANOriginal
     
  • LogMANOriginal

    LogMANOriginal - 2018-12-08

    Closing because it works in current version.

     

Log in to post a comment.