Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SECTION 2 - RESERVATION PAGE 10.75 MARKS Open Reservation.php and do the following: 1. Declare an Indexed Array called departments and assign the following values
SECTION 2 - RESERVATION PAGE 10.75 MARKS Open Reservation.php and do the following: 1. Declare an Indexed Array called "departments" and assign the following values to it: (1.5 Marks) o Public Relation Dept. o Information Technology Dept. o Marketing Dept. o Finance Dept. 2. Use foreach loop - or any loop - to display the values of the above array in a drop-down menu inside the form as the following screenshot. (3.5 Marks) Email Public Relation Dept Public Relation Dept Information Technology Dept Marketing Dept. Finance Dept. Number of attendees Figure 1 - Output of the array 3. Once the user clicks "Reserve Now" button, save the reservation details in room_reservation table. Then display a message The room reserved successfully". (5.75 Marks ] RESERVE THE CONFERENCE ROOM: Full name Email Public Relation Dept. mm/dd/yyyy Number of attendees Reserve Now
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started