Ik weet echt niet wat je probeert te doen, maar hier zijn enkele artikelen op de Google Maps API-site over het gebruik van PHP en MySQL met de Google Maps API:
https://developers.google.com/maps/articles/phpsqlsearch_v3
https://developers.google.com/maps/articles/phpsqlajax_v3
https://developers.google.com/maps/articles/phpsqlinfo_v3
https://developers.google.com/maps/articles/phpsqlgeocode