On Dec 2, 11:02 pm, Blanaru Irina <[email protected]> wrote:
> Hy everyoane,
>
> I have to use portuguesse charactere in my database. The problem is when I
> transfore into an xml and read it to put it in an InfoBox for instance, it
> gives error! I have in 'description' and 'link'. Any idea?
>
> Thank you very much!
>
> while ($row = @mysql_fetch_assoc($result)){
>   // ADD TO XML DOCUMENT NODE
>   $node = $dom->createElement("marker");
>   $newnode = $parnode->appendChild($node);
>   $newnode->setAttribute("name",$row['name']);
>   $newnode->setAttribute("lat", $row['lat']);
>   $newnode->setAttribute("lng", $row['lng']);
>   $newnode->setAttribute("type", $row['type']);
>   $newnode->setAttribute("description", $row['description']);
>   $newnode->setAttribute("picture", $row['picture']);
>   $newnode->setAttribute("address", $row['address']);
>   $newnode->setAttribute("link", $row['link']);
>
> }
>
> echo $dom->saveXML();


What character encoding are you using?

  -- Larry

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

Reply via email to