This tutorial will show you how to add select boxes and Multi-Select boxes to a form, how to retrieve the input data from them, how to validate the data, and how to take different actions depending on the input.
Select box
Let's look at a new input: a "select" box, also known as a "drop-down" or "pull-down" box. A select box contains one or more "options". Each option has a "value", just like other inputs, and also a String of text Between the option tags. This means when a user selects "Male", the "formSex" value when accessed by PHP will be "M"