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 10:40
5. illustrate how fine-line inventory classification can be used with product and market segments. what are the benefits and considerations when classifying inventory by product, market, and product/market?
Answers: 2
question
Computers and Technology, 23.06.2019 08:00
Which argument is not a valid filter? does not equal this quarter filter by cell color all of these are valid filter arguments.
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
What is the purpose of a computer network needs assessment? to analyze which workers need more training to improve their performance to compare worker productivity to determine what steps employees can take to increase company revenue to evaluate how to move from the current status to the desired goal
Answers: 2
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
Questions on the website: 13722362