fraser5002 Posted March 31, 2010 Share Posted March 31, 2010 Hi im not sure if this is a php problem or a JS problem I have a php page where a user enters details including there postcode the idea is that when they click submit the details will get added to my database via php and the postcode will be geocoded converted to a lat long and also put in the database however my geocoding code is JS . How can i therefore convert these to php variables and add with the rest of the details. My understanding is php runs before all the JS code am i right? The geociding code is working fine giving me 2 JS variables for lat and long and the rest of the details are updating fine i just need to know how to add the lat long variables at the same time i click submit . Hope this makes sense cheers Link to comment https://forums.phpfreaks.com/topic/197140-php-problem-geocoding-google-maps/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.