Using PHP/MySQL with Google Maps
        Posted  
        
            by Anders Kitson
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Anders Kitson
        
        
        
        Published on 2010-03-18T03:56:42Z
        Indexed on 
            2010/03/18
            4:01 UTC
        
        
        Read the original article
        Hit count: 622
        
Hiya,
I followed this tutorial below http://code.google.com/apis/maps/articles/phpsqlajax_v3.html#outputxml
I ran into trouble, near then end, I am hoping someone else here has got this working and can help me discover my problem. Simply there are 4 steps to this tutorial
- Creating the Table
- Populating the Table
- Outputting XML with PHP
- Creating the Map
I successfully have completed all the steps, however the outputted xml isn't read by the google map I created. The files are all on the same directory, and I didn't change any of the file names from the tutorial. The tutorial has a step to test if the php file called phpsqlajax_genxml.php is outputting the xml and I successfully tested it and it was.
The problem is that the map isn't rendering the items I have in the database, that should be converted to xml for the map to read.
Any help, or pointing me in the right direction would be much appreciated.
© Stack Overflow or respective owner