[thelist] ASP - & Encoding

Joshua Olson joshua at alphashop.net
Fri Mar 22 19:43:12 CST 2002


----- Original Message -----
From: "Feingold Josh S" <Josh.S.Feingold at irs.gov>
Sent: Friday, March 22, 2002 1:23 PM
Subject: [thelist] ASP - & Encoding


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

Josh,

that question is too open ended to answer outright, but I can give you at
least a partial answer.  Use Server.URLEncode to prep a string for placement
in a url's querystring.

On the receiving end, use Server.QueryString("myvar") to get the value from
the querystring.

HTH,

-joshua




More information about the thelist mailing list