Jump to content

[SOLVED] Calling all airport data (name, lat and lon) in a .xml file


James142

Recommended Posts

Hello.

I was wondering if it was possible to call all the airport information from the database into a .xml file? for example:

Dublin airports lat/long is: 51.5002/-0.1262

So I wish to display:

<lines>
<line lat="51.5002" long="-0.1262" width="1" name="Dublin" alpha="40"></line>
</lines>

Any help is appreciated,

James

Link to comment
Share on other sites

Mr. Barrett,

Try locating the Airport Table here in the forums. I believe it shows you the complete list of every airport in your database as well as the Lat/Lon. You can then see how it is pulling that info, and tweak your code to work on the page you want.

  • Like 1
Link to comment
Share on other sites

Mr. Barrett,

Try locating the Airport Table here in the forums. I believe it shows you the complete list of every airport in your database as well as the Lat/Lon. You can then see how it is pulling that info, and tweak your code to work on the page you want.

Or I could have just used my brains and searched it on google. Found it thanks :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...