> Any php experts around?
Not really, it's a javascript API forum.
> for ($i = 0; $i < count($marker); $i++)
> {
> $countrycode = $doc->getElementsByTagName("cc");
Within this loop through the array $markers, you keep reading exactly
the same $countrycode from $doc, over and over again.
Did you meant to read it from $marker[$i] ?
I would guess that getElement**s**ByTagName is a clue that it will
return you an array.
> if(strtolower($ucountrycode) == strtolower($countrycode))
That doesn't look like a sensible operation on an array?
http://www.google.co.uk/search?hl=en&q=php+read+xml+file&meta=&aq=f&oq=
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---