Hello,
I am having a rich text editor in my website it works fine when formatting text like bold etc. but the problem is that when i retrieve data from database there is no bold, italic or underline etc.Please help me. you can find the script here.
http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm
quickbird
0
Newbie Poster
Recommended Answers
Jump to PostHi there,
I think the problem probably lies with your sanitizing methods.
When you insert (or update) the data into the database, make sure that you run the function "addslashes()" on the text from the editor before putting it into your sql. And then when you retrieve it from the …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.