Re: SESSION ARRAY
| From: | Todd Pasley | Date: | Fri, 30 Aug 2002 00:17:38 +0000 |
| Subject: | Re: SESSION ARRAY | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114569@lists.php.net to get a copy of this message | ||
> What is the proper syntax for storing an array in a session?
>
> is it $_SESSION["BILLARRAY"]=$ARRAY?
Yep, providing youre using session_start() and session_register("_SESSION")
you can assign any type of data, just like a regular hash.
Todd.
----- Original Message -----
From: "Randy Johnson" <icgphp@icecoldgold.com>
To: "phplist" <phplist@inkjetgear.com>; <php-general@lists.php.net>
Sent: Friday, August 30, 2002 9:08 AM
Subject: [PHP] SESSION ARRAY
> What is the proper syntax for storing an array in a session?
>
> is it $_SESSION["BILLARRAY"]=$ARRAY?
>
>
> Randy
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>