AnotherMuggle
12-28-2007, 10:32 AM
I am relatively new to PHP programming and struggling with the basics...hopefully someone will be kind enough to help me out here.
I have a number of pages that contain buttons, which are effectively options for the user. When a button is pressed it moves the user to the next page, but it is required that the button that was pressed is remembered.
I have one page that asks the user to press the button (ADULT, CHILD, SPECIAL). They press the button and are taken to the next page which asks for the type of ticket they would like to purchase (SINGLE, RETURN, ALLDAY). Next the user will be taken to the final page where their selected options are shown to them to confirm.
I have managed to use $_GET to pass a variable from one page to the following page. Is it possible to pass this value to all consecutive pages so that I have all of the button choices available at the summary page.
Hope that makes sense :S
Thanks,
Tom
I have a number of pages that contain buttons, which are effectively options for the user. When a button is pressed it moves the user to the next page, but it is required that the button that was pressed is remembered.
I have one page that asks the user to press the button (ADULT, CHILD, SPECIAL). They press the button and are taken to the next page which asks for the type of ticket they would like to purchase (SINGLE, RETURN, ALLDAY). Next the user will be taken to the final page where their selected options are shown to them to confirm.
I have managed to use $_GET to pass a variable from one page to the following page. Is it possible to pass this value to all consecutive pages so that I have all of the button choices available at the summary page.
Hope that makes sense :S
Thanks,
Tom