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

    print_r($POST) showing a blank array

    Asked by lasercorp on March 16, 2016 at 11:42 PM

    Hi,

    I am trying to post to a mysql database and I redirected my thank you page to a php page with  print_r($_POST); to print out the array for the mysql submission.

     

    however, as seen in the attached image, the print out is blank.

     

    I have done this many times before with no issues.

     

    thanks,

     

    Page URL:
    https://www.jotform.com//?formID=53137496672262

    Screenshot
    POST array a print thanks attached
  • Profile Image
    JotForm Support

    Answered by Chriistian on March 17, 2016 at 12:13 AM

    You may check out this guide to see how to send POST data to a custom Thank You page. Send POST Data From JotForm Using PHP in Custom Thank You Page. This may help us identify why the POST is showing a blank array.

    Then to send the submission to your MySQL database, simply follow this guide: How to send Submissions to Your MySQL Database Using PHP

    If the issue persists, please send us the php code so we can further investigate.
    Regards.