Define and describe the following terms: server-side, delimiters, objects, methods, collections, and arrays.
Describe the role of the following HTML constructs: the action attribute in a form tag, a type of hidden in an input tag, a type of submit in an input tag, a type of reset in an input tag, method equal “get” versus method equal “put” in a form tag.
Write the PHP version of the previous problem (hint: pay attention to the names of the variables).
Create your own fact guessing game. You would use the same structure as the state capitals, but insert different paired facts in the two arrays and different prompting messages.
Add a third type of question to the state/capital games; specifically, use the shape of each state. You need to locate images representing the shape of the states, without the name of the state or any city. The answer to a shape question would be the state name. You will need to create a third array with element values the names of the image files, or you can dynamically construct the names of files using the state name concatenated with “.gif” if indeed the files are all of type .gif. Otherwise, use whatever the file type is. Remember, you can put any HTML within the <form…> and </form> tags.
Create a “number facts” game. Use the random feature to select two integers, and ask the player to add or multiply. The handler program will perform this same operation and compare to what the player has entered.
Add scoring keeping to the state/capitals or another game. This would be a task for cookies, which will be described later, but you can simulate the function of cookies by passing along as a hidden variable the score.