RE: Error in foreach?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
I have encountered a very strange error on one of our customers sites.
Their script returns the following error:

Warning:Invalid argument supplied for foreach

This is in response to the following line:

foreach ($_GET as $key => $value)

All I am trying to do is parse the querystring!

Any ideas?
[/snip]

What happens when you print_r($_GET); ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux