Posted by Peter Pei on 01/07/08 10:46
The fact is that $_SESSION[] = "a"; $_SESSION[]="b"; works - works on the
initial page when it is set up.
The problem is that the values are not retained on the next page. There is
some other reasons behind, not what you have said.
Who told you that you cannot do $_POST[] = "abc"? It clearly works. You
didn't grasp the original issue: the issue is not whether [] works for
$_SESSION, but why the indexed values are lost next entry of the session.
Navigation:
[Reply to this message]
|