On Wed, Oct 08, 2008 at 01:29:51AM -0700, Serna wrote:
> 
> sorry the script php are now like this ( but the markers are invisble
> in explorer 7 or 6 )
> 
> <?php
> require("config_base.php");
> 
> 
> function parseToXML($htmlStr)
> {
> $xmlStr=str_replace('<','&lt;',$htmlStr);
> $xmlStr=str_replace('>','&gt;',$xmlStr);
> $xmlStr=str_replace('"','&quot;',$xmlStr);
> $xmlStr=str_replace("'",'&#39;',$xmlStr);
> $xmlStr=str_replace("&",'&amp;',$xmlStr);
> return $xmlStr;
> 
> 
> }

Are you sure this line should be last and not first?

   $xmlStr=str_replace("&",'&amp;',$xmlStr);


Karl

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