Question: Read this exercise carefully and take your time to work out the logic. Your chapter 1 1 folder contains a version of orders.html and order.php

Read this exercise carefully and take your time to work out the logic. Your chapter 11 folder contains a version of orders.html and order.php. This application allows the user to obtain a report concerning orders for blueberry bushes. Create an $orders array with the following 10 values: 2,17,4,6,1,3,1,15,1,6. You can use any approach to crete the array. Now write the code to display the orders in a table with 2 columns. The heading for the first column is Order #, and the heading for the second column is Quantity. These are provided. Use a FOR loop to display rows containing the oders stored in the array. For each row, the order number will be 1 added to the index of the current array element (so the orders will be numbered 1,2,3, etc.), and the quantity will be the value stored in the current element. Use the sizeof() function to control the loop.
Read this exercise carefully and take your time

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!