I have a script that's using the Google maps API as so
Code: Select all
$googleMaps = $this->googleMapsLocation($POST['pickup_location']);
$serializedGM = serialize($googleMaps);
This is taking a form field (pickup_location) which is completed using the Google places autocomplete script and placing the resulting serialized data into my DB. What i would like to do is for it to instead find the coordinates of the location and store those instead...Any ideas?
Thanks in advance.