Using POST in a Form

First Name
Surname

Code Explanation

  1. use the form tag with the action set and method =POST
  2. Action is the .php page to go to when the form is submitted
  3. All inputsinside the Form will then be sent via POST to the action page
  4. RememberInputs inside the form so only 1 form is used here
  5. The name= of the inputs will be the name available on the server as $_POST['name']
  6. A Submit input is required to submit the form, value is what will be displayed on the button