Send PHP variables through multi page form
Posted on 2010-08-27
I am creating a small customer portal to capture invoice information. I have created 4 pages for the user to walk through.
1. customer information
2. invoice information
3. desired sending method
4. confirm information and send
i would like for the data from each page to be carried throughout the system until the end. I am currently pulling the information from page 1 to page 2 using a PHP variable and hidden form elements on page 2. Then passing those hidden form elements to page 3 and so on.
Is that the best practice for passing the data from page to page or should i work some session variables? If so, can someone give me some guidance on how to setup session variables and the capabilities of session variables. thanks in advance.