PDA

View Full Version : showing html on a web page?


angst
04-21-2004, 03:11 PM
hello,
I'm working on a forum right now for my web site,
and would like to know how to either removed html code from posts,
or have to just show the html code insted of running it.

how can this be done?

thanks in advance for your time!
ken

raf
04-21-2004, 04:55 PM
instead of just wrinting the value, you need to Server.HTMLEncode() it

angst
04-21-2004, 06:04 PM
ah, ya i should have known that one, :p
thanks!