Is there a way to pass submission data to my MySQL database?

  • Profile Image
    goncalo.pereira.1992
    Asked on April 08, 2019 at 12:17 PM

    Hello 

    I have a website with MySQL and i want to know if is possible inject the form data results directly in my database.

    Kind regards



  • Profile Image
    Jim_R
    Answered on April 08, 2019 at 01:34 PM

    Hello @goncalo.pereira.1992 - You have two options to choose form:

    1. You can code this yourself using PHP. The only requirement from our end is for you to post your submission data to your thank you page.

    2. Or, you can also use Zapier to act as a middleman between the two.

  • Profile Image
    appymes
    Answered on April 08, 2019 at 01:37 PM

    With this method you could also send images to the database?

    Thank you.

  • Profile Image
    Jim_R
    Answered on April 08, 2019 at 02:28 PM

    Yes, it should. Our API documentation has a get method to fetch uploaded files, so you can post it in your thank you page too. As an example, here's a quick test form that posts data in the thank you page. Fill out that form, add an image to the file upload field, then submit it. You will see the details of the uploaded file in the thank you page. You can then send these data to your database using your PHP codes.

  • Profile Image
    appymes
    Answered on April 08, 2019 at 03:16 PM

    Thanks, now I review it.

    And it is possible that the form is not sent to any email, that is, only to a database, but not to an email?

    Thank you.

  • Profile Image
    Jim_R
    Answered on April 08, 2019 at 04:39 PM

    Sure, that's possible too. By default, when you build a form, an EMAIL NOTIFICATION will also be configured for you. If you don't want your submissions to send through email, you can delete the email notification.

    Complete guide: How-to-Delete-Notifications-Autoresponder