We help IT Professionals succeed at work.

Textarea to write html to database

Mayank_Agarwal
on
Hi Fellows

I am looking for a way to be able to give users of my site access to a textarea where they can type text to or insert pictures etc and save this text to a database column in form of HTML. It for a CMS site where user can change the contents of a webpage using this text area. Once the text and picture are in the database, a script will read it and display is the correct format (bold, colour letters, picture etc) on the webpage.
Can anyone help please.
Comment
Watch Question

Ryan ChongSoftware Tead Lead / Business Analyst / System Analyst / Data Engineer
SILVER EXPERT

Commented:
You can try FCKEditor, for more info:

http://www.fckeditor.net/

Author

Commented:
HI i am trying that out now and it seemed to be working fine but now i have started to get this error when i  click DONE button to save teh text to DB
Sys.webforms.PageRequestManagerServerErrorexpection Unknown error occured when processing the request from server. the status code returned from the server was 500
instead of a textbox, which does not allow any formatting, you should be using a RICH TEXT BOX !!!

www.webreference.com/programming/javascript/gr/column11/
www.dart.com/pwtb.aspx
www.freevbcode.com/ShowCode.asp?ID=6111

Explore More ContentExplore courses, solutions, and other research materials related to this topic.