Click to See Complete Forum and Search --> : Special charaters in hyperlinks HTML


CincyRed33
April 18th, 2003, 12:04 PM
I need a little help...

I am taking text from a database that is entered by the user and using it as a hyperlink on my site. I'm having difficulities when a user may possibly enter special characters such as &, %, _. I then create the hyper link containing this special character, but when I click on that I get an "Exception Occurred" error.

Any ideas what I can do about this?



This is what the one looks like:

Ampersand Literal (& _)

Satishpp
April 21st, 2003, 05:29 PM
This should help

http://www.aspalliance.com/pkvnm/samples/urlencode.asp

Satish