solidsnake24444
New member
Write an online application that informs the user the correct state tax. The user access a web page (html file) with a selection drop box with the names of the states. After validating the selection, the user submits the query to the server. At the server, the (PHP file) uses a function to search an array that has states names to see if the input state name is in the array. The Corresponding state tax is in another array at the same position. These are "parallel arrays", meaning state (i) has state tax(i). Once the match is found, the application at the server sends back the cooresponding state tax.
State name array: Ohio, West Virgina, Kentucky, New York
State Tax array: 0.080, 0.065, 0.090, 0.086
State name array: Ohio, West Virgina, Kentucky, New York
State Tax array: 0.080, 0.065, 0.090, 0.086