Monday, March 26, 2012

How to save html in SQL Server

I am using a Wysiwig editor, FCKeditor, i my CMS. I try to save the html text from the editor in a SQL Server. But noting get stored in the database.

I think the problem is how the tabel in the datebase is setup.

How shall a tabel look like so it can store html?Since HTML is string data you should be able to use one of the "char" datatypes to store HTML. If you will need to store more than 8000 characters then you should probably using the text datatype.

Terri

No comments:

Post a Comment