Hi there folks
I am sure someone has done something similar to this in the
past or perhaps knows a bit more about xml than myself and can
possibly assist (which wouldn’t be hard).
I am building an application in which I collect addresses and
more importantly postocdes. After the data is submitted to the
database I want the webpage to go to a new page which would confirm
successful entry. At the same time I want this page to obtain the
latitude and longitude for the postcode that has just been entered.
The idea being that I could then display this data on a map etc or
use it for searching the distance between two places.
I have managed to send a request to Google using the URL:
http://maps.google.com/maps/geo?q=g1&output=xml&key=myAPIKey
(I have taken the key out)
and it returns an xml feed with the coordinates listed. The
problem is I don’t really know what to do with this output. I don’t
want the user to see this outbut but instead I was to write it to
the database to update the record that has just been added. I just
don’t know how to get the info I need from this doucment use use it
without showing the xml – I only want one line of it.
Can anyone help – I should point out that I am using classic
ASP.
Thanks in advance
Related posts:
- HELP!!!! Which would be easier????
- Open page based on Zip
- DW MX – Extension for Form Processing?
- PHP Page Marker
- MySQL Error: # 2002
Related posts brought to you by Yet Another Related Posts Plugin.