encoding works fine. aut it also converts the xml tags, so doesnt serves my purpuse.
See the problem in detail.
http://www.thescripts. com/forum/thread625260.ht ml
(Please bear this time I m new to this forum. I will maintain the decorum inthe future posts).
Thanks in advance
Prashant
User Profile
Collapse
-
Storing XML in MySQL with SimpleXML:problem?
I have an XML which stores the contents of a page, further the XML is to be stored in the database. The content can be html, text with special characters,etc.
I have a form to take the value from the user. If the user gives some special characters to in the txtmatter, I want to encode them, and at the time of fetching I want to decode them.
I have successfully encoded the value of special characters of <txtmatter> with... -
PHP SimpleXML Special Characters
Hi All,
I am new to XML. Please help me.
My Problem.
I have an XML which I have created dynamically uing the simpleXML of PHP 5 and I want to store that XML in the MY SQL Database.
The XML is having special characters which are generating the MySQL errors.
I had tried with htmlspecialchar acters, htmlentities to encode the specialcharacte rs but it doesn't server my purpose.
Please help me out....
No activity results to display
Show More
Leave a comment: