> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] HTTP_SESSION_VARS Jon Yaggie
- [PHP] Re: HTTP_SESSION_VARS Richard Lynch
- Re: [PHP] Re: HTTP_SESSION_VARS Jon Yaggie
- Re: [PHP] HTTP_SESSION_VARS Jon Yaggie
- Re: [PHP] HTTP_SESSION_VARS mike cullerton
- Re: [PHP] HTTP_SESSION_VARS Richard Lynch
- Re: [PHP] HTTP_SESSION_VARS Johnson, Kirk
- Re: [PHP] HTTP_SESSION_VARS Ozgur Demirtas
- RE: [PHP] HTTP_SESSION_VARS Johnson, Kirk
- [PHP] http_session_vars Dennis Gearon
- Re: [PHP] http_session_vars CPT John W. Holmes
- Re: [PHP] http_session_vars rotsky
- Re: [PHP] http_session_vars Ernest E Vogelsinger
- Re: [PHP] http_session_vars rotsky