Walking through this Google tutorial, I ran into an issue that I need help in solving.
http://code.google.com/apis/kml/articles/phpmysqlkml.html I loaded in a data set into MySQL, and generated a KML output file, just like it shows. However, the output file has all the right content, except there are no line breaks after Line 2. All the map data is there, but it is all on one line. I am new to this PHP / MySQL stuff, so any clues would be appreciated. Here is the first bit of resulting output: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://earth.google.com/kml/2.1"><Document><Style id="restaurantStyle"><IconStyle id="restaurantIcon"><Icon><href> http://maps.google.com/mapfiles/kml/pal2/icon63.png</href></Icon></IconStyle></Style><Style id="barStyle"><IconStyle id="barIcon"> . . . --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
