+ 4

How to get user input in PHP?

10th Jun 2018, 11:42 AM
B.D
B.D - avatar
5 Réponses
+ 8
by form elements ...
10th Jun 2018, 12:01 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 6
You cant,php already processes before you can even see it. You can use $_get[] or $_post to collect html forms or perhaps some ajax or json way to receive it through js. In all,theres no input() method in php
10th Jun 2018, 11:51 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
use input method depends on how your form is being submitted. if form type is post the use $_POST and if its get method then use $_GET
10th Jun 2018, 8:17 PM
Mukul Mishra
Mukul Mishra - avatar
- 5
php
10th Jun 2018, 1:45 PM
Permaisuri Cel
Permaisuri Cel - avatar
- 5
php
10th Jun 2018, 1:46 PM
Permaisuri Cel
Permaisuri Cel - avatar