Results 1 to 3 of 3

Thread: PHP Error.

  1. #1
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default PHP Error.

    Hello,

    Im getting this error:

    Warning: Invalid argument supplied for foreach() in /home/revision/public_html/phpscript/index.php on line 89
    Line 89:
    PHP Code:
          foreach ($GLOBALS['_flags'] as $flag_name => $flag_value 
    So please help

    Tom

    Moved by Mattps22004 (Forum Moderator) from Website Designing & Development: Please post in the correct forum next time, thanks.
    Last edited by Matt.; 24-07-2007 at 08:37 AM.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  2. #2
    Join Date
    Feb 2005
    Posts
    2,503
    Tokens
    0

    Latest Awards:

    Default

    I don't know too much about php, but I know a bit :S. Anyway, are you missing a )? Cause I can see a "(" at the start but can't see a ")". Sorry if that's wrong .

    PHP Code:
    foreach ($GLOBALS['_flags'] as $flag_name => $flag_value
    Last edited by Matt.; 24-07-2007 at 08:35 AM.

  3. #3
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    Don't worry about it, i did it quite a bit wrong
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •