Have you got your PHP file in the same directory as your HTML file? On Jun 19, 10:49 pm, sonali ajankar <[email protected]> wrote: > Hi, > > I am able to display map on web browser by using following link, > > http://code.google.com/apis/maps/articles/phpsqlajax.html > > But markers on the map are not displayed at all. where the xml data > get displayed on web browser, I am using phpsqlajax_genxml2.php for > taking data from mysql database. > Please tell me what is the problem. > > Ans: > > >I see that you're using example from this > >articlehttp://code.google.com/apis/maps/articles/phpsqlajax.html > > Check out first database connection parameters (username, password) in > > phpsqlajax_dbinfo.php, and that you included that file in your > > phpsqlajax_genxml2.php, if they are correct let's go to next step. Try > > to open your phpsqlajax_genxml2.php in your browser and check out do > > you get any data parsed to XML from your database. > > >> Hello > > >> Thanks for your reply, but whatever you suggest is already working, I > > >get the data parsed to XML from my database. > > > >Then also not able to display marker on my Google map. > >> I have taken data from this file phpsqlajax_data.sql , use > >> phpsqlajax_genxml2.php this php file and able to get this > >> phpsqlajax_expectedoutput.xml output in xml browser. then by using > >> phpsqlajax_map.htm this able to show map. > > But markers on the map are not displays. > > > > > > > >Please help me. I am not able to understand where is the problem? > > > >please help me as early as possible. Thanks in advance. > > > > phpsqlajax_genxml2.php > 1KViewDownload > > phpsqlajax_expectedoutput.xml > 1KViewDownload > > phpsqlajax_map.htm > 3KViewDownload > > phpsqlajax_map.html > 3KViewDownload- Hide quoted text - > > - Show quoted text -
-- 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.
