On Friday 02 January 2004 02:11 am, Cesar Aracena wrote:
> Hi all,
>
> can somebody remind me how to propperly insert not just one but many
> variables into a $_SESSION handle? php manual doesn't explain it very well.
> It just says that it can be done.
>

$_SESSION['foo'] = array('a', 'b', 'c', 'd', 'e');

var_dump($_SESSION['foo'][3]);  => 'd'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to