Answered step by step
Verified Expert Solution
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
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 requiredStep 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