> I will return no points, even when I change my query to read: > $query = "SELECT `Site_ID`, `Site_Name`, `Site_lat`, `Site_lon` FROM > tblSite WHERE `Community_ID` = 50";
Perhaps you have no data in tblSite wth `Community_ID` = 50" , we cannot tell. Going back to > Please see my example here: > http://www.dsys.ca/testing/comprofile.php?Community_ID=50 That tries to read XML data from http://www.dsys.ca/testing/special_inc/phpsqlajax_genxml_sites.php Note - that your javascript doesn't pass 'Community_ID' or any other argument to phpsqlajax_genxml_sites.php If you would like to pass arguments you will have to add things to the url string in this line request.open("GET", "special_inc/phpsqlajax_genxml_sites.php", true); You can test the output from phpsqlajax_genxml_sites.php by pasting the full url directly in your browser address box If I try that, I get back a MySQL error report that includes "Notice: Undefined index: Community_ID in ... " which implies you don't have such a column in your table at all. None of these are maps problems. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
