ProAnswers.org

How to get value from a inputbox using PHP forms?

How to get value from a inputbox using PHP forms?

Depending on what type of form you are using, you will use either:

$variable = $_POST[‘inputname’];

or

$variable = $_GET[‘inputname’];

Whether you use Post or Get is determined by the form’s method.