Jump to content

Capture form fields then redirect


cturpin

Recommended Posts

Hi all,

Any help on this would be greatly appreciated! Here's the situation: I'm building a signup page and there's a link to a privacy policy at the bottom of the form. If the user fills out the form, and thinks, "Hmm, I should check the privacy policy" and clicks the link to view it, they go to the new page. Once they click a "continue" button at the bottom of the privacy policy, they return to the form but all fields are blank. Now, I know I should start a session and store all the form fields in the $_SESSION global but how do I go about doing that, AND redirecting the user to the new page?

C

PS. I read the [url=http://www.phpfreaks.com/forums/index.php/topic,117717.0.html]flush, then redirect[/url] and I got a bit further but any comments would still be of great use! Thanks!
Link to comment
https://forums.phpfreaks.com/topic/29824-capture-form-fields-then-redirect/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.