Forms Processing
Forms allow users to submit data to a server.
HTML forms usually send data using GET or POST.
Example Form
Section titled “Example Form”<form method="post"> <input type="text" name="username" /> <input type="submit" /></form>Processing Form Data
Section titled “Processing Form Data” $username = $_POST["username"]; echo "Hello " . $username;