Forums
This topic is locked
Filtering
23 Dec 2003 21:01:11 Head Mr. posted:
Trying to filter out hte Characters " and ' from my database because they are causing problems later on. Is there a way to filter it before it is submited to the database?-I am beyond the line of Morality and therefore, beyond caring.
Replies
Replied 24 Dec 2003 01:07:54
24 Dec 2003 01:07:54 Phil Shevlin replied:
Look into:
Server.HTMLEncode(whatever)
www.devguru.com/Technologies/asp/quickref/server_htmlencode.html
Server.HTMLEncode(whatever)
www.devguru.com/Technologies/asp/quickref/server_htmlencode.html
Replied 24 Dec 2003 02:59:21
24 Dec 2003 02:59:21 Charles Crawford replied:
Have a look at the "DMX Check User Name SB & Single Quotes" thread.
I found a fix to take out the single quote. I'm sure you could do the same for double-quotes too.
I found a fix to take out the single quote. I'm sure you could do the same for double-quotes too.