I'm still pretty new to AJAX. We have a MySQL database that stores addresses for people who register with the site. We then use those stored addresses to create markers on a Google Map (API v3) through a JSON query. The problem is, that's pretty slow, and limited in the number of queries we're allowed. So we've created fields in the database to store the latitude and longitude that is being called by JSON.
Through each pass of the loop, the numbers can be retrieved through
result[0].geometry.location.lat()
result[0].geometry.location.lng()
How do I take those numbers and store them into their empty fields in the database?