buttons as a session variable?


#1

yes another question from me. I trying to learn but I can’t find the info anywhere. can buttons be defined as a session variable.
Problem:
I have a page with where a menu pops up with multiple choices(buttons). Each button triggers a different graphic to appear and playout on the screen. If I put the buttons in a single form, can each buton be defined as a session variable. I would like to be able to provide a review page that list all the choices the user made. If i am going about this all wrong please let me know cause I’m freakin lost!


#2

I am not 100 percent sure what you are asking but you can set a session variable based on a button put, and then recall that session value on subsequent pages to show the appropriate buttons.

You can find more info about sessions at http://us2.php.net/session and the php.net website in general.