PHP Basic Questions

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
jonas060831
New php-forum User
New php-forum User
Posts: 1
Joined: Mon Feb 05, 2018 8:03 pm

Mon Feb 05, 2018 8:10 pm

Im having trouble getting the value from the post request that i did on the form i cant get the value that im requesting from the form can i please get some help

so i have a form.leaf
php script that i upload to heroku

now on the form.leaf i have a form that send MobilePhone number text to the action which has the https post request now on the script that i deployed to heroku i would like to get the value from the form that i created i tried $MobilePhone = $_POST['MobilePhone'];
then echo $MobilePhone but i cant seem to get the data pls help

chorn
php-forum Fan User
php-forum Fan User
Posts: 559
Joined: Fri Apr 01, 2016 2:18 am

Mon Feb 05, 2018 11:18 pm

var_dump($_POST)

Post Reply