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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.