home page button
site layout button
control structures button
string functions button
user input button
midterm button
state information button

Processing a Web form | Alphabetizing User Input

Processing a Web form

Make sure to name the inputs and use a method of post or get though post is more secure. Then the action is a php script the from is to run. The inputs generally are in the form of $_POST['input_name'].

Alphabetizing User Input

Using functions to sort generlly gets the job done. It is helpful to have an idea of the content you are sorting as the type of sort may change.

[Test the Script] | [View the Source Code]