I want to integrate a What you see is what you get editor for my website.
I understand that the editor can be the one as I can see I am typing in. How do I store data in database so that when I retreive the data from db I can implement the same thing.
Like if a bold text was stored in a db the bold text is retrieved after I display.
The big hitch here is that when I display some data, I use htmlentities() function to prevent HTML hacks.
Please suggest a tried and tested method to this.
I appreciate your help regarding this.