What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to save a copy of submission data to MySQL database?

    Asked by Nick  on September 09, 2015 at 07:12 PM

    Hello,

     

    I was wondering if upon submitting a form, there was a way to grab the data from the form submit it into a MySQL database as well as send an email. Thank you

    form submit hello email thank
  • Profile Image
    JotForm Developer

    Answered by evren on September 10, 2015 at 02:40 AM

    Hi there,

    Of course you can! Please read this guide: How to send Submissions to Your MySQL Database Using PHP

    http://www.jotform.com/help/126-Form-to-MySQL

    Please feel free to contact me if you have any questions.

    Thank  you

  • Profile Image

    Answered by Bintelli on September 10, 2015 at 06:40 PM

    Hello and thank you for your response.


    I tried the method in the article but I cannot even get a print_r of the $_POST data. I tried doing it to a thank you page: http://citecardealers.com/RegistrationReceived.php and also tried to to the page the form resides on: http://citecardealers.com/RegTest.php. Neither got me the $_POST data. It just shows an empty array. 

     

     

  • Profile Image
    JotForm Support

    Answered by ashwin_d on September 11, 2015 at 01:08 AM

    Hello Bintelli,

    I did check your form "citEcar Dealers - Warranty Registration" and found that your have not enabled the Send POST data preferences. Please check the screenshot below:

     

    Form should be configured to send the post data before you can read it in your thank you page. You may like to take a look at the following guide which should help you:

    http://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page 

    then take a look at the following guide:

    http://www.jotform.com/help/126-Form-to-MySQL

    Thank you!