I can't see Post data in my php Thank You Page

  • ampercorp
    Asked on December 19, 2016 at 3:36 PM

    Hi,

    I can't see the "show-post-data" variables in my new php thank you page.

    I've already move the preferences (Send Post Data= Yes) but still not working.
    Even when i try with "Redirect to external link= https://www.jotform.com/show-post-data" doesn't works.

    Could you please help me?

    Tank you! 

  • AIDAN
    Replied on December 19, 2016 at 3:47 PM

    I assumed you are talking about your form "AMPER: REGISTRO PRESENCIAL - Nuevo Registro" and I examined it.

     

    Indeed, you are correctly enabling send post data, and I see that you have a custom php page as the thank you page.

     

    Could you please share with us the relevant bits of this php script? The code section that you are using to retrieve the post data, so we can inspect it.

     

    Thank you in advance.

  • ampercorp
    Replied on December 19, 2016 at 4:45 PM
    Correct, i'm working on AMPER: REGISTRO PRESENCIAL - Nuevo Registro.
    This is what i'm using:
    <?php
    $_POST['nombreCompleto'];
    $_POST['correoElectronico'];
    $_POST['celular6'];
    $_POST['monto'];
    ?>
    Also i attached my original PHP in this mail, maybe it could be easier.
    Tanks again!
    2016-12-19 14:47 GMT-06:00 JotForm :
    ...
  • AIDAN
    Replied on December 19, 2016 at 5:03 PM

    You're quite welcome!

     

    Okay, I couldn't see the file you attached, but I can see the problem from the PHP snippet you posted in your reply.

     

    The instructions you have, do not tell PHP to print anything to the page, and this is why you see nothing.

     

    To print these variables to the webpage, you may use echo or print() as documented in http://php.net/manual/en/function.echo.php and http://php.net/manual/en/function.print.php respectively.

     

    Please let us know if you need further assistance.