Re: Array into $_SESSION
| From: | Gerard Samuel | Date: | Fri, 02 Jan 2004 07:15:31 +0000 |
| Subject: | Re: Array into $_SESSION | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173625@lists.php.net to get a copy of this message | ||
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'