On Friday 13 April 2001 16:03, you wrote:
> Does it act as a "normal" array like:
> $array = array(one => "Number One", two => "Number Two");
>
> How would I go about to make this loop work (if I use the above array
> it works):
>
> while(list($key, $val) = each($HTTP_SESSION_VARS))
>
> echo "$ke
Does it act as a "normal" array like:
$array = array(one => "Number One", two => "Number Two");
How would I go about to make this loop work (if I use the above array it
works):
while(list($key, $val) = each($HTTP_SESSION_VARS))
echo "$key - $val";
}
Regards,
// Tobias Talltorp
"Rasmus Lerdor
There is already such an array. It is $HTTP_SESSION_VARS
-Rasmus
On Fri, 13 Apr 2001, Tobias Talltorp wrote:
> I know this question has been up here before, but all the searches I did
> turned up with to many or no hits, so I couldn“t find anything.
>
> I want to get all the variables from a s
I know this question has been up here before, but all the searches I did
turned up with to many or no hits, so I couldn“t find anything.
I want to get all the variables from a session and get them into an array
like this:
$sessionvar[userid]
$sessionvar[user]
$sessionvar[email]
...
I think I re
4 matches
Mail list logo