Jump to content

text from database to valid xml


Steven B.

Recommended Posts

I am using php to query text from database for the creation of xml. The problem is that the text comes along with html coding like "–" " " and "’". also at times there are ampersands in the text. I need to convert this to valid xml. Is there an easy way to do this using php. Or is there a library that can provide this function.

 

any help, is greatly appreciated

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/200960-text-from-database-to-valid-xml/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.