Re: Array into $_SESSION
| From: | Cesar Aracena | Date: | Fri, 02 Jan 2004 07:25:29 +0000 |
| Subject: | Re: Array into $_SESSION | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173626@lists.php.net to get a copy of this message | ||
Thanks a lot :)
"Gerard Samuel" <php-general@trini0.org> escribió en el mensaje
news:200401020215.31670.php-general@trini0.org...
> 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'