Re: Error in foreach?

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

 



> This is in response to the following line:
> 
> foreach ($_GET as $key => $value)

is $_GET an array?

when in doubt, print it out

try:
print_r($_GET)

or even check

is_array($_GET)

might be an earlier version of php

http://us2.php.net/manual/en/reserved.variables.php#reserved.variables.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