Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer the following using PHP AerAirways uses the following two database tables to record the flights it offers and the airports it uses: flightNum

Please answer the following using PHP

image text in transcribed

AerAirways uses the following two database tables to record the flights it offers and the airports it uses: flightNum ea 101 ea 102 ea 103 ea 104 ea 105 ea 106 Flight goingFrom goingTo DUB STN DUB EDI DUB GLA DUB CDG STN CDG STN BER airport DUB STN EDI CDG BER Airport country Ireland England Scotland France Germany Suppose destinations.html contains this form:
The user enters the code of the airport from which s/he likes to travel. Write destinations.php which receives the user's input, queries the database, and outputs a well- formed HTML unordered list of countries to which there is at least one direct flight from the user's chosen airport, including nested lists of flight numbers to that country. For example, using the database shown above, if the user enters DUB, the user's browser will display something like the following: o England ea101 France o ea 104 Scotland ea 102 ea 103 o o A stylesheet is not required. Validation of user data is not required

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

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions

Question

List the various reconciliation responses to conflict.

Answered: 1 week ago

Question

7. Discuss the advantages of embedded learning.

Answered: 1 week ago