Actually I've been able to narrow my problem down - to put the question most simply now, can anyone provide the code I would use to store the lat and lng data from this xml file into php variables ($latitude, $longitude):
http://ws.geonames.org/search?name=KTE B&fcode=AIRP
Thank you again!
Nick...
User Profile
Collapse
-
Parsing XML with PHP Problem
Hi all,
I have been trying to parse an XML file using SimpleXMLElemen t in PHP 5, but
am having difficulty fetching any results.
I have an airport code in a variable, $mapaddress (for example: KTEB), that I am trying to pass to Geoname.us, which will geocode the airport code and return latitude and longitude coordinates in the form of an XML file. To see the kind of file Geoname returns, click here to see the...
No activity results to display
Show More
Leave a comment: