I have read and followed the following tutorial: "Using PHP/MySQL with Google Maps" http://code.google.com/apis/maps/articles/phpsqlajax.html Pamela Fox, Google Geo Team
Great article. Everything works great. But there is one more problem that I cannot seem to solve. When new addresses, lat, and lng are inserted into mysql database, how do I get those new addresses to show on the map or load/update automatically without having to open the generate xml file in the browser every time? The site I am running deals with real estate and users are constantly adding new homes using html forms and then I use php to post to mysql. Once that data is inserted it would be beneficial to be able to open the map with all of the markers and see the newly inserted addressess. It seems after following the tutorial the xml file only updates itself when it is opened in the browser, not when the map is opened which calls the URL of the xml generator. Most of this I a very new to and I would imagine my problem is very simply just inserting some line of code to call and load the genxml.php file before the map is loaded. Any help is greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
