This is a form with a variety of elements
This form has additionally,
- Input of type=password
- Radio Buttons
- Checkboxes
- a SELECT list
- a Select MULTIPLE list
- a TEXTAREA
This form has as action https://osiris.ubishops.ca/jensen/echo.php, a script
that simply shows the names and values of the form elements.
Note the following:
- If you don't check a radio button or checkbox, nothing goes in the query string
- All your selections in topping1 ARE in the query string. PHP just throws away
all but the last one.
- topping2 solves the problem by being named "topping2[]"
so PHP makes an ARRAY of values
To see the actual html coding of the form, use your browser's View, Page Source
Go on to look at the A script to process this form.