Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Generating proper XML with PHP
July 27, 2005, 2:34 pm
rate this thread
query. The problem is that some of the db entries may contain tabs,
gt/lt signs, and other XML-unfriendly characters.
Is there a stock function for replacing these with their proper XML
escape sequences? I suppose I could do it with regex, but it seems this
would be so common that it's silly to write it over again.