Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2010
    Posts
    45
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Thank you page with form values

    Ok so I made a contact form and php file to process it. That worked fine, it sent me an email with the form's info.

    I then made a thank you page that users would be redirected to after submitting the form. No probs there.
    I'm just confused as how you would go about having a thank you page that contained information from the original form e.g. :

    "Thank you for your comments, I will respond to you as soon as possible at email entered in form"

    I thought there might be a way to post the form to multiple php files but I'm not sure quite how to do that!

    Thanks for any help

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,471
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    Three ways ...

    You append variables to the URL when you display the thankyou form.
    Pros ... easiest, Cons ... the variables appear in the URL in their address window.

    You use cookies.
    Pros ... sort of easy, Cons ... some people have them turned off,
    requires an extra step.

    You use PHP SESSIONS.
    Pros ... sort of easy, Cons .. requires an extra step.

  • Users who have thanked mlseim for this post:

    whatg (01-15-2010)

  • #3
    New Coder
    Join Date
    Jan 2010
    Posts
    45
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Thanks for your help.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •