FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Problem with special char in MySQL and XML
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Problem with special char in MySQL and XML [message #174850 is a reply to message #174849] Wed, 13 July 2011 12:56 Go to previous message
Sarah is currently offline  Sarah
Messages: 30
Registered: December 2010
Karma:
Member
Thanks for to all for fast replies and for help me!!

So... reading your replies now I know that in my DB I've to save my
literally chars: è à & ù ì etc.


--
But there's still a handful of special characters that need to be
written as
entity references, for example the ampersand '&'. If this char appears
unescaped in your text, it will break your XML.
--


--
I don't think either of them is necessary. Take your DB data, pass it
through htmlspecialchars() and take the result to build your XML.
--

What I've to do exactly??
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: xml rpc request with mynewsletter builder
Next Topic: how to implement AJAX to html
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 08:30:34 GMT 2024

Total time taken to generate the page: 0.04142 seconds