Question: Read the exercise carefully and take your time to work out the logic. Your chapter 1 1 folder contains versions of parking.html and parking.php .
Read the exercise carefully and take your time to work out the logic. Your chapter folder contains versions of parking.html and parking.php This application allows a parking attendant to select a parking space number from a drop down list there are parking spaces numbered to The parking.php program already includes an array named $parkingPermits where each array element contains the license number of the car that has a permit for the parking apce with the same value as the array index. So for example the license that has been registered for the parking space is LYD EW and this is stored in $parkingPermits Add a single print statement to display the correct license plate number from the $parkingPermits array based on the user's form submission. The paragraph should display the permit number as well as the license number, for example: "The license plate number for parking space is LYD EW HINT: the HTML form in parking.html will send the parking apce number. The $parkingPermits array contains the license number for each parking space, and the index for each of these is the same as the parking space number; remember that you can use a variable to reference an array index, for example: $somearray$someIndex
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
