Insert html data into mssql

Posted on 2007-07-31
Last Modified: 2010-03-19
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?


Question by:NurveTech
    LVL 16

    Expert Comment

    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.
    LVL 14

    Accepted Solution

    Have a look at this.

    Hope it helps.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
    Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
    In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
    In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now