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

  • Profile Image
    Sharifuddin
    Asked on October 01, 2016 at 09:48 PM

    Finally figured how to get POST with array-type

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

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



    This is a re-post of a comment on Send Submission Data via Post Method and Thank You Settings

  • Profile Image
    EltonCris
    Answered on October 02, 2016 at 04: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:

    Hope this helps!

     

  • Profile Image
    foodfunshop
    Answered on March 09, 2017 at 01: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!?

  • Profile Image
    EltonCris
    Answered on March 09, 2017 at 03:14 PM

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

    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.

  • Profile Image
    foodfunshop
    Answered on March 10, 2017 at 06: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

    ...
  • Profile Image
    AIDAN
    Answered on March 10, 2017 at 09: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.