PDA

View Full Version : PHP Error.



Recursion
24-07-2007, 08:29 AM
Hello,

Im getting this error:



Warning: Invalid argument supplied for foreach() in /home/revision/public_html/phpscript/index.php on line 89


Line 89:


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:).

Matt.
24-07-2007, 08:34 AM
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 :(.


foreach ($GLOBALS['_flags'] as $flag_name => $flag_value)

Recursion
24-07-2007, 08:37 AM
Don't worry about it, i did it quite a bit wrong ;)

Want to hide these adverts? Register an account for free!