$GLOBALS

From: Date: Wed, 11 Jun 2003 20:16:39 +0000
Subject: $GLOBALS
Groups: php.windows 
Request: Send a blank email to php-windows+get-20277@lists.php.net to get a copy of this message
When running the following code: foreach($GLOBALS['photo'] as $photo) I get: Warning: Invalid argument supplied for foreach() on line 63 Would register globals have to be on for this code to work? Am I using the $GLOBALS clause wrong? It would seem to me that this should work since you can use post in the same fashion. ie: foreach($_POST['photo'] as $photo) ~ Mike

« previous php.windows (#20277) next »