Help with Sessions
Posted on 2004-04-14
I have a web site that that has 4 pages to get information from the user. The problem I am having I was trying to use sessions to keep the data entered on pages 1-4 then on page 5 after the user reviews their information they would submit it and it would post to the mysql database. I can pass session information to the next page but can't keep it going to the other pages. Here is an example.
Enter First Name:
Enter Last Name:
Review the data built in the session array then submit and enter into database.
I know how to submit the data to the database but I can't seem to build the array even though I'm using session_start(); on every page.
I am looking for exact information here as I am knew to PHP and have purchased 3 PHP books so far yet nope give me an example to passing information like I am wanting.
Using PHP 184.108.40.206 on a windows platform but once this proto type is complete will be moving to a unix server.