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.




-- 
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.

Title: Google Maps AJAX + mySQL/PHP Example

<<attachment: phpsqlajax_genxml2.php>>

<markers><marker name="&amp;" address="1521 1st Ave, Seattle, WA" lat="47.608940" lng="-122.340141" type="restaurant" /><marker name="&amp;" address="2222 2nd Ave, Seattle, WA" lat="47.613590" lng="-122.344391" type="bar" /><marker name="&amp;" address="14 Mercer St, Seattle, WA" lat="47.624561" lng="-122.356445" type="restaurant" /><marker name="&amp;" address="1225 1st Ave, Seattle, WA" lat="47.606365" lng="-122.337654" type="restaurant" /><marker name="&amp;" address="2230 1st Ave, Seattle, WA" lat="47.612823" lng="-122.345673" type="bar" /><marker name="&amp;" address="1301 Alaskan Way, Seattle, WA" lat="47.605961" lng="-122.340363" type="restaurant" /><marker name="&amp;" address="2234 2nd Ave, Seattle, WA" lat="47.613976" lng="-122.345467" type="bar" /><marker name="&amp;" address="1416 E Olive Way, Seattle, WA" lat="47.617214" lng="-122.326584" type="bar" /><marker name="&amp;" address="1908 Pike pl, Seattle, WA" lat="47.610126" lng="-122.342834" type="restaurant" /></markers>
Title: Google Maps AJAX + mySQL/PHP Example

Reply via email to