alexschreyer.net
Creating a KML file from MySQL data with PHP – by [as]
I recently had a need for a PHP script that queries a MySQL database for location-based point data (a LatLong coordinate and some descriptive information)