Joseph Ross Lee wrote:

Hello... Is there any example that I can look at that does a session
variable as an array? thanks

session_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

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



Reply via email to