[thelist] ASP - & Encoding

Anthony Baratta Anthony at Baratta.com
Fri Mar 22 12:38:17 CST 2002


At 10:23 AM 3/22/2002, Feingold Josh S wrote:

>How do I pass an ampersand from via a querystring into a SQL query?

What specifically are you trying to do??

In order to embed an '&' into a QueryString, you need to URL encode it.

With ASP that is: server.URLEncode(varStarString)

---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list