On Dec 8, 12:51 pm, webmaster <[email protected]> wrote: > Sorry, I'm using PHP. My code is modeled on the example > athttp://code.google.com/apis/maps/articles/phpsqlgeocode.htmlunder > "Sample PHP Code". It does not seem to treat Placemark as an array.
It doesn't. That script is intended to update a single marker, I think; the fact that the alternative uses CSV output (which can only ever return one placemark) reinforces that. You surmise Placemark[0] which seems reasonable. What happens when you try that? See http://php.net/manual/en/function.simplexml-load-file.php for an example which might also be useful. PHP is rather out of the scope of the Group. Your question is about how to parse XML using PHP, rather than about the Javascript Maps API. Andrew -- 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.
