How do I pass my form data to save in Mysql database?

  • Profile Image
    Mugisha isaac
    Asked on September 25, 2017 at 06:49 AM

    How do I connect allm that to the HTML form ??



    This is a re-post of a comment on How to send Submissions to Your MySQL Database Using PHP

  • Profile Image
    Sabbir
    Answered on September 25, 2017 at 07:15 AM

    Hello,

    Can you please be more specific about your query?

    Thanks,

  • Profile Image
    Mugisha isaac
    Answered on September 25, 2017 at 09:43 AM
    Yes,, I want the information collected from the contact form which I
    designed in HTML to be reflected and stored in MYSQL database... But I
    don't know how
    ...
  • Profile Image
    Sabbir
    Answered on September 25, 2017 at 09:57 AM

    Hello,

    You can get your form data by allowing your form to send the post data to your Thank you page.

    To post form data to your thank you page, please follow these steps:

    1. Click SETTINGS at the top.

    2. Then FORM SETTINGS on the left nav.

    3. Click the SHOW MORE OPTIONS button.

    4. Scroll down until you see the SEND POST DATA section then set it to YES.

    And if you want to get your post data variables along with pre-formatted PHP codes, follow these steps:

    1. Click SETTINGS at the top.

    2. Then THANK YOU PAGE on the left.

    3. Select REDIRECT TO EXTERNAL LINK option.

    4. Then paste the following URL: https://www.jotform.com/show-post-data/

    Save your form and make a test submission. You should be able to see post data variables on your form thank you page along with the preformatted PHP codes.

    Demo form: https://www.jotform.com/62301599849972

    Sample result:

    Once you get all the data, you can now send them to your Mysql database.

    https://www.jotform.com/help/126-How-to-send-Submissions-to-Your-MySQL-Database-Using-PHP

    I hope this will help you how to do it.

    If you have any further query, please let us know.

    Thanks.