Practice 6
Main | Review of Operators | Mathematical Functions | Practice 5 | Solution 5 | HTML Forms | PHP Forms | Practice 6 | Solution 6 | PHP and E-mail | Practice 7 | Solution 7 This exercise will build on your knowledge of conditionals and functions, while testing your understanding of the material from our discussion on online forms. To get a better idea of what this application will do, you should interact with it. Go here, and try pressing the "Submit Query" button without entering any information into the boxes above. They try pressing the "Submit Query" after you have entered information. You should notice that if you leave either the text-box labeled "First Name" or "Last Name" empty, that you see the error: You did not fill in all the fields, try again You will be responsible for checking if either box is left empty by using PHP's built-in functions. The variables that we will use to denote what is to go into each text-box respectively are $first and $last. To complete this exercise you must:
jfulton [at] member.fsf.org
|