Re: Session variables as array
| From: | John W. Holmes | Date: | Wed, 24 Mar 2004 12:31:40 +0000 |
| Subject: | Re: Session variables as array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181371@lists.php.net to get a copy of this message | ||
Joseph Ross Lee wrote:
Hello... Is there any example that I can look at that does a session variable as an array? thankssession_start(); $_SESSION['somekey'] = 'somevalue'; $_SESSION['someotherkey'] = array('one','two','three','four'); $_SESSION['yetanother'] = array(array('one','two','three'),array(1,2,3),array('foo','bar','blah')); -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com