Hi Guys, I am currently working on an assignment where I need to create a function which would query the database to search flights available according to the users input through the HTML form. I have attached a picture of the HTML form.
Basically the user, selects the origin, the destination, oneway/return, departure date, arrival date, etc etc and than clicks submit. This should than return all the flights available in a different page, however I am having difficulty actually writing the function that will query the database to do this. I am not sure how the HTML form would pass the values to the searchFlights() function and what the function may look like.. Can some one please assist me with this? Any help with this would be REALLY appreciated. Thank you in advanced. --
<<attachment: searchFlights.png>>

