+ 4
How to get user input in PHP?
5 ответов
+ 8
by form elements ...
+ 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
+ 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
- 5
php
- 5
php