Textarea to write html to database

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.
LVL 1
Mayank_AgarwalAsked:
Who is Participating?
 
scrathcyboyConnect With a Mentor Commented:
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
0
 
Ryan ChongCommented:
You can try FCKEditor, for more info:

http://www.fckeditor.net/
0
 
Mayank_AgarwalAuthor 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
0
All Courses

From novice to tech pro — start learning today.