Html Tags RRS feed

  • Question

  • User-1669115804 posted

    How to remove the html tags while saving into database using FCK editor.

    And how to add the html tags while retriving the data from database [Sql Server 2005]

    Wednesday, August 6, 2008 4:23 AM


  • User1888055295 posted

    Not quite sure I follow you, but if you mean you want to strip the < and > from the text you could just do a string.replace("<","&lt;") and string.replace(">","&gt;"), then reverse this when reading the text back.



    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 7, 2008 10:19 AM