WDV341 Intro PHP

WDV101 Intro HTML and CSS Chapter 9 - Creating Forms - Code Example

Basic Form Handler - This process will display the 'name = value' pairs for all the elements of a form. This summary will on any number of form elements regardless of their name attribute value.

Use basicFormExample.php in the action attribute of your form.

Field 'name' - The value of the name attribute from the HTML form element.

Field 'value' - The value entered in the field. This will vary depending upon the HTML form element.

First Name:

Last Name:

School:

Gender:

Female Male Transgender

Newsletter:

Sign Up for Newsletter
Decline Newsletter

Grade: