subject

Part 3; using php to generate forms: to your order form from part 2, add input elements for customer name and address if they're not already there. the "state" part of the address must be a select element(also called a "pulldown menu") to allow the person placing the order to choose his or her state. don't type all fifty states, but supply at least georgia, alabama and florida. put the names of the states in an php array and use php code to create the drop-down dynamically. (this will still be named l6p2.php; you're just adding to something you've already tested.) you will find an example of creating a select element for states in the class slides covering html forms. you are going to create the drop-down dynamically, and not by hard-coding it. this part of the assignment is a fair example of something you might do with php in "real life." instead of an array, you would use a database call, so if we suddenly add another state to the u. s. (or your company suddenly adds another state to its service area) a change to the database automatically (and immediately) changes what people see in the form. for this assignment, you're loading states from an array. we'll get them from a database in the next assignment. you do not need a special link on your index page for part 3; i will test part 3 at the same time i test part 2.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
Sports and entertainment class, your goal is to increase attendance and make a profit for a game by getting your team on a winning track with total salaries less than $3,000,000
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
Stops: using the information learned in this course, explain three things you will not do when driving. a. b. c. explain why you will not do these things when driving. starts: using the information learned in this course, explain three things you will do when driving. a. b. c. explain why you will do these particular things when driving. explain one thing you will stop doing as a passenger. explain one thing you will start doing as a passenger.
Answers: 3
You know the right answer?
Part 3; using php to generate forms: to your order form from part 2, add input elements for custom...
Questions
question
English, 22.02.2021 21:50
question
Mathematics, 22.02.2021 21:50
question
Mathematics, 22.02.2021 21:50
question
Mathematics, 22.02.2021 21:50
Questions on the website: 13722363