"QUOTE"
I have some session variables for each user but I want to preserve them across pages.
PHP will check automatically (if session.auto_start is set to 1) or on your request (explicitly through session_start() or implicitly through session_register()) whether a specific session id has been sent with the request. If this is the case, the prior saved environment is recreated.
SO, in answer to your question, all you have to do is start the session to make it so you can read the variables for every page after the page you set the variable... should make sense... if not, read the below page.
(www.php.net/session)
"QUOTE"
Can I have an array which contains other arrays as elements?
I believe you're talking about multi-dimensional arrays. if this is the case. then yes, you can have them. i'm not sure what you mean by 'other arrays as elements'. for further reading, checkout:
(www.php.net/array)
as far as the last question goes... this windows been open all day and i just remembered i started the reply a long time ago so i'm not gunna finish it 🙂