I am using V3, I mistakenly linked to V2. The PHP is from my localhost&database and it produces valid XML locally. This can be verified by viewing the source of the posted xml page: view- source:http://www.dinkypage.com/104423, you will see the valid V3- method 3 code for outputting XML,with the valid XML ouput at the bottom of the view source page Since I don't have anything other then my localhost I wanted to at least attempt to follow the posting guidelines by linking to Sample of the pretty xml produced: <?xml version="1.0"?> <markers><marker name="Pan Africa Market" address="1521 1st Ave, Seattle, WA" lat="47.608940" lng="-122.340141" type="restaurant"/> Thx for taking a look ~Blær On Jan 10, 2:27 pm, "[email protected]" <[email protected]> wrote: > On Jan 10, 5:55 am, Victor <[email protected]> wrote: > > > I'm going through the Google phpmysql tutorial from Pamela Fox > > 2007<http://code.google.com/apis/maps/articles/phpsqlajax.html#outputxml>. > > That is for v2, try this one for > v3:http://code.google.com/apis/maps/articles/phpsqlajax_v3.html > > > I think I've done everything correctly except that the markers from my XML > > won't load. I'm running phpmyadmin on a localhost. I'm a little unsure if > > it is an encoding issue. I am unable to use method 1 (Using PHP's domxml > > functions to output XML) in the tutorial, method 2 works but the method > > parses the name attribute incorrectly and method 3 (Using PHP's DOM > > functions to output XML) works without any editing (I do get the same naming > > error as Google when the name contains "&"). > > Link to xml Xml file <http://www.dinkypage.com/104423> (view source to > > see what the xml looks like) > > That site doesn't seem to run the php, so it isn't valid xml. > > -- Larry > > > > > > > > > Link to map: Map <http://www.dinkypage.com/104420> > > MySQL charset: UTF-8 Unicode (utf8) Server version: 5.1.41. Marker table is > > utf8_general_ci. > > (If anybody can suggest a good disposable webpage place for posting code, > > feel free to share with the rest of the class) > > Thank you, > > ~Blaer
-- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
