• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

Insert html data into mssql

I am trying to create a dynamic system for my content on my website and i want to be able to enter all the formating codes with the text in the form and use html codes for formating and submit it to the database, but when i do it doesnt like the html codes when i submit to the database (mssql 2005) any idea how to get around this or make things work?


1 Solution
What error messages are you getting? How are you passing the values into the database? Use parameterized queries to avoid issues with certain characters in the data you are passing.
Have a look at this.

Hope it helps.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now