Inputing HTML in text area and being able to display the code without the HTML working on the page
Posted on 2007-07-24
I'm trying to create a page in Coldfusion that inputs HTML code and displays it as text, something similar to how this experts-exchange forum works, so I don't want the HTML to actually change anything on the page but I want to be able to display it.
So my question is how do I go about doing this? I'm assuming we need to use something like HTMLCodeFormat to convert symbols to the HTML characters so they can be inputed into the database easily (I'm using access) but then how do u display them without turning it into actual HTML on the page?!