Objectives
You will be able to
access the data sent through the html form
understand how to use superglobal variables
debug the problem occurring because of a form element sent unfilled/unchecked/not selected
escape single/double quotation marks that may exist within the input submitted by the user
remove the single/double quotation marks before they are displayed back on the web browser
use if conditional to check the result of a condition
use else conditional to check the result of a condition
use elseif conditional to check the result of a condition
use NOT (!) operator
use the comparison operators with if, elseif, and else conditional statements
use the logical operators with two sets of comparison operations in if, elseif, and else conditional statements
test whether a textfield/textarea form element was submitted without a value or not
test whether a radio button, checkbox, pull down menu, or a scroll down list form element was submitted without a value or not
turn display errors setting on
set the error reporting level

Discussion Questions
1- How do we access the first name data submitted using a text field called "first_name" within an html form where GET method is used?
2- What are some common features shared by all super global variables?
3- If the user does not type in anything within a text field, what value will we receive in the $_POST super global variable for that text field form element?
4- If the user does select anything for a pull down menu option, what value will be received for the $_POST super global array for that form element?
5- If the user does check anything for a checkbox/radio button before submitting the html form, what value will be received through the $_POST superglobal array for that form element within the handling document?
6- In the handling document before processing the input submitted by the user, why do you need to escape the single/double quotation marks that may exist within the input?
7- In which cases, you do not need to escape them?
8- How do you escape the single/double quotation marks that may exist wihtin the input submitted by the user?
9- After making sure that single/double quotation marks are escaped and stored in the database, when you need to display them back on the browser by retrieving them from the database, what do you need to do before you display them on the web browser?
10 -When do you not need to use the curly braces {} after an if, else, or elseif statement?
11- Give us an example using NOT (!) operator within a conditional
12- If you have an if...elseif...else construct, when is the else conditional statement executed?
13 - What is the function used to check whether the Magic Quotes settings at the server is enabled or not?
14- In what situations ini_get() function is used?
15- Give us an example where if-elseif-else conditional statement is used?
16- Why do you need to put the else conditional at the end of an if-elseif-else conditional block? Give us an example
17- What are the two functions that can be used to test whether a form element was submitted without a value or not? And what is the difference between them?
18- What type of form element can be tested using empty() function? Give us an example usage?
19- What type of form element can be tested using isset() function? Give us an example usage?
20- What is the functions that we need to use to turn the display errors setting at the server on, and to set the error reporting level? Give us an example
21- What attribute is used to address the name and the location of the file to handle the html form?