I need to pass variables from page to page. I have a form on the first page that uses the POST method and puts the form values into a database table. This form is where users of the site define a profile of themselves. So I would like for them to be directed to a page showing them what their formatted profile looks like(i.e. all the data they just entered appears in a nice little table).
The chain of events should go something like this:
1. User enters data into form
2. Page sends the data via the POST method
3. Data gets inserted into database
4. User is redirected to Formatted Profile page
5. Display a filtered recordset (page only shows their profile).
I would like to accomplish step 5 by just passing the username entered in the form by the new user to the formatted profile page. I can do this with GET, but I need to use POST in order to insert the records into the database.
So how do I access the variables on the next page when they were submitted via the POST method on the previous page?
Help is much appreciated.
Clay Simmons
The chain of events should go something like this:
1. User enters data into form
2. Page sends the data via the POST method
3. Data gets inserted into database
4. User is redirected to Formatted Profile page
5. Display a filtered recordset (page only shows their profile).
I would like to accomplish step 5 by just passing the username entered in the form by the new user to the formatted profile page. I can do this with GET, but I need to use POST in order to insert the records into the database.
So how do I access the variables on the next page when they were submitted via the POST method on the previous page?
Help is much appreciated.
Clay Simmons