RE: [PHP] HTTP_SESSION_VARS

From: Date: Wed, 01 Aug 2001 17:48:15 +0000
Subject: RE: [PHP] HTTP_SESSION_VARS
Groups: php.general 
Request: Send a blank email to php-general+get-60717@lists.php.net to get a copy of this message
> while (list ($key, $val) = each ($HTTP_session_VARS)) { > echo "$key => $val<br>"; > } > > i get the error - > > Warning: Variable passed to each() is not an array or object > in /var/www/html/adult/func.php on line 5 Change "HTTP_session_VARS" to "HTTP_SESSION_VARS", since variable names are case-sensitive. Kirk

« previous php.general (#60717) next »