use_a_value_from_a_posted_form_in_php
Use a value from a posted form in PHP
When you post a form, the receiving page can process the form variables (in PHP) as follows:
$targetvar = $_POST['formvariablename'];
It’s also a good idea to make sure you handle special HTML characters properly:
$targetvar = htmlspecialchars($_POST['formvariablename']);
use_a_value_from_a_posted_form_in_php.txt · Last modified: 2024/08/11 18:08 by jimc