HTML Forms and $_GET[]

As clever as it is to alter the URL to pass values to your script, the normal way to pass values is through a web form.

Here's some HTML that will display a form with two fields.

Here's some PHP code to do something with that form.

Here's a script with the two parts combined.

Here's another script, but one which displays the previously entered value in the form.

POST is another technique, similar to GET, but different.

.