"&" sign problem

G

Greg Zwierzynski

HI ,

I am passing few parameters from one page to another.
One of the parameters is order number.
In one particular case the order number includes "&"
sign : FE:.AT&T001

Next page reads the order number as "AT" only (not the
full oredrr.

I put double quotes around the order number.

Did not help.

Any clue???
The help would be really appreciated.

Thanks

Greg
 
R

Ray at

Server.URLEncode your querystring. i.e.

<A
href=page.asp?something=<%=Server.URLEncode("dfkajsdf&83#&#$Q*Q#RHSDF8sadf")
%>">click me</A>

Ray at work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top