+ 1

Is there a way to get user input with PHP?

I still don't know if there's a way, and, if there is, I'd like to know it.

10th Aug 2017, 9:29 PM
Rossozzo 03
Rossozzo 03 - avatar
3 Answers
+ 8
There's no way for PHP to take users input, it only uses html <form> to get users input.
10th Aug 2017, 9:35 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 1
You should look up Ajax calls. You can use jquery to get user input and post it to a php script and get the output.
10th Aug 2017, 9:33 PM
Tim Haerkens
Tim Haerkens - avatar
0
In sololearn not easy. If you run your php on any server you cann use something like mypage.php?myvar=myvalye&othervar=othervalue
10th Aug 2017, 9:35 PM
VcC
VcC - avatar