I know. What can I say? I AM a looney of the first division.
Anway,
I seem to be on the road to getting this one solved.
Thanks to you guys;
I finally know how to create a session variable which is an array.
I also know how to pass that array session variable from page to page.
And finally, I know how to display the information that's contained within the array session variable.
There is just one more thing that I'm not sure about (well, there's actually 2 more things, but I'll ignore the second problem just now cos I don't want to go into a state of overwhelm).
Ok, here's the vibe....
Let's say we have an array variable called "names" (or something) which contains the information "Tom", "Dick" and "Harry".
Ok, now thanks to this thread. I know how to create that array session variable and to view it. Horary to that!
BUT, what if I wanted to add a new name to the list?
So far, I have the array defined as being "tom", "dick" and $new. And on the page that defines the variables I have $new declared as being equal to "Harry". HENCE, when I view my session variable array I get Tom, Dick and Harry printed onto the screen.
That's cool.
But if I later change the variable of $new to (say) "David", then instead of getting "Tom, Dick Harry and David", I am getting "Tom, Dick and David".
So, in other words it's just replacing the value that was already there- not adding a new one.
Right now I'm just trying to work out how to change the variable of $new and have it adding a NEW thing to the list (as opposed to modifying a value on the list).
That's my problem and I wouldn't blame you if you never responded. Thanks anyway!