Filling a combo box of airport of the world
-
Hello, I am creating a flight website that will allow users to select places that they want to fly to. They will select the departure and destination from selecting the airport from the combo box. My problem is, that there are many airports in the world. Would I have to manually insert all of them, or is they a method to collect all the airport and fill the combo boxes with them. If did this the manual way, l think i could miss some, and it would take a long time. Thanks in advance, Steve
-
Hello, I am creating a flight website that will allow users to select places that they want to fly to. They will select the departure and destination from selecting the airport from the combo box. My problem is, that there are many airports in the world. Would I have to manually insert all of them, or is they a method to collect all the airport and fill the combo boxes with them. If did this the manual way, l think i could miss some, and it would take a long time. Thanks in advance, Steve
at least once you have toput all of yhrm in database and then later u can fill urs comboboxes from database.
-
at least once you have toput all of yhrm in database and then later u can fill urs comboboxes from database.
But wouldn't it be nice to have databases that could fill themselves... ;P
-
But wouldn't it be nice to have databases that could fill themselves... ;P
but for that also you have to take data from somewhere else. ultimately somewhere it ahould be already present. Are you trying to get that data from somewhere else, where it is already maintained?
-
but for that also you have to take data from somewhere else. ultimately somewhere it ahould be already present. Are you trying to get that data from somewhere else, where it is already maintained?
Hello, Thanks for your reply. The following link has all the airport codes, city, and country. This is what l want. http://www.nationsonline.org/onewor...t\_code\_list.htm The airport city would have to be loaded into the combo box for the user to select from, there are over a 1000. My question would it be quicker to load them from a SQL server or from a XML file? Thanks in advance -- modified at 1:46 Saturday 6th May, 2006