Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that the HTML code that creates the page as shown in the figure below is given, then answer below questions: Q1: write a code

Assume that the HTML code that creates the page as shown in the figure below is given, then answer below questions:

image text in transcribed

Q1: write a code that shows how to store coursers per semester and year for each department in the Faculty of engineering Using PHP array?

Q2: Write a PHP code, that reads from the array you created in Q1 and shows name (each one as HTML header) of the top 3 departments that offered the largest number of courses for the given year and semester. The user enters year and semester and clicks on the button, after that your code should get the year and semester, search in the array you build in Q1, return all matches. For example if the user enter 2019 and semester 2, then your code must output number of courses per department as follow:

CSE 60

EE 50

CE 45

Engineering Course Archives Enter year and semester to get total number of courses offered per department Year: ex: 2020 Semester: ex: semester 1 Fetch Courses

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

6. Explain the strengths of a dialectical approach.

Answered: 1 week ago