On Sep 27, 11:40 pm, komsi <[EMAIL PROTECTED]> wrote:
> If i dont encode the address field, and use :
>
> $row['address'] = <IMG  class=IMG1 SRC=arrows_trans.gif> <a
> href="http://www.micmus.dk/
> udvidsoeg.php?map=map&maal=Østrig&afr=1215813600&hjem=1226703600"
> class=link15>Se Crab Pot ø æ å</a>
>
> it works fine with the link in the infobox,

I don't see how. You're missing at least one set of quote marks.

> so something happens when i do this :
>
> $address=htmlentities($row['address']);
> $address=utf8_encode($address);
>
> But what can i do about it ??

Store your link separately so you can send it separately and parse it
separately. Currently (I think; I can't find a current link) you're
ending up with your <a> tags encoded as &lt;a&gt; which won't work.
You don't want to encode HTML tags, so you need to construct those
individually. And to do that, you need to be able to get at their
contents easily.

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

Reply via email to