>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
>and well it looks liek an array to me . . is there soemthing i can do to
make this work?

Spell it with SESSION, not session.

$HTTP_session_VARS ain't nothing unless you set it.

WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm

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]

Reply via email to