PHP passing variables between pages using sessions
Posted on 2011-09-02
I know I'm being thick but passing variables between pages in PHP seems awkward, or I'm sure I make it more complex that it needs be...
I have some variables I want to pass to another page, say a small array as a single variable.
To begin the process I issue a session_start(): command.
What I don't understand is how I tell the script to stop remembering the variables I wish to add to the session and then regurgitate them on the next page?