Finally figured how to get POST with array-type$first = $_POST[fullname

  • Sharifuddin
    Asked on October 1, 2016 at 9:48 PM

    Finally figured how to get POST with array-type

    $first = $_POST[fullname3][first];

    $last = $_POST[fullname3][last];

  • Elton Support Team Lead
    Replied on October 2, 2016 at 4:13 AM

    That's right or you can use its indexed numbers.

    Example:

    $first = $_POST[fullname3][0];

    $last = $_POST[fullname3][1];

    You can also follow this guide to learn how to get your form's post data including the pre-formatted PHP codes ready to be used in your codes https://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page

    Example:

    Finally figured how to get POST with array type$first = $ POST[fullname Image 1 Screenshot 20

    Hope this helps!

     

  • foodfunshop
    Replied on March 9, 2017 at 1:42 PM

    I am not getting any $_POST to url 

    https://www.foodfunshop.com/jotforms/index.php?submit=1

    from form at 

    https://form.jotform.me/70671438090456

    I have enabled post in setting!?

  • Elton Support Team Lead
    Replied on March 9, 2017 at 3:14 PM

    I am only getting the thank you text when I submit your form.

    Finally figured how to get POST with array type$first = $ POST[fullname Image 1 Screenshot 20

    I assume there's a problem with your PHP script. Try to debug it or post the raw dump of the data using var_dump($_POST); so you can see all the field names and values for your reference.

  • foodfunshop
    Replied on March 10, 2017 at 6:46 AM
    here the code, ignore api stuff of index.php

    On Friday, March 10, 2017 1:13 AM, JotForm wrote:

    New response received A new response has been received: Answered by EltonCris I am only getting the thank you text when Isubmit your form.I assume there's a problem with your PHP script. Try to debug it or post theraw dump of the data using var_dump($_POST); so you can see allthe field names and values for your reference. View this thread on browser » Unsubscribe Thread 1489090449

    ...
  • AIDAN
    Replied on March 10, 2017 at 9:40 AM

    Hi again,

    Please use the thread that you created, instead of this thread, to follow up on your issue: https://www.jotform.com/answers/1087848

    We try to separate each request/question into its own thread. Thank you.