note 40564 added to ref.session
| From: | timmiller at rn2 dot php dot net | Date: | Mon, 08 Mar 2004 03:10:04 +0000 |
| Subject: | note 40564 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66419@lists.php.net to get a copy of this message | ||
As it says above....
"The keys in the $_SESSION associative array are subject to the same limitations as regular
variable names in PHP, i.e. they cannot start with a number and must start with a letter or
underscore. For more details see the section on variables in this manual."
You can't start the associative index variable with a number.
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40564
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40564&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40564&report=yes
Search -- http://master.php.net/manage/user-notes.php