RE: [PHP] Error in foreach?

From: Date: Mon, 10 Jan 2005 20:42:39 +0000
Subject: RE: [PHP] Error in foreach?
Groups: php.general 
Request: Send a blank email to php-general+get-206018@lists.php.net to get a copy of this message
[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); ?

« previous php.general (#206018) next »