|
| |
|
|
dzirkelb1
Posts: 1300 Joined: 10/5/2004 From: Cedar Rapids, Iowa Status: offline
|
& in a querystring - 9/12/2006 14:52:38
I have a vendor name called P&B. this obviously isn't a good naming convention, but that was set up before I was here. Anyways, when I create a link to send the P&B to a new address, the querystring gets all messed up cause it stops at the &. What is the %number used to replace the &? Like, %23 is a # sign I think, and %20 is a blank space I think (those might be reversed)
|
|
|
|
dzirkelb1
Posts: 1300 Joined: 10/5/2004 From: Cedar Rapids, Iowa Status: offline
|
RE: & in a querystring - 9/12/2006 15:05:58
I'm not sure that is what I'm looking for. I want to pass it to a link and then use request.querystring to get the value. Currently, it goes like this: www.somesite.com?Vendor=P&B When I do a request.querystring("Vendor"), then it comes up as P instead of P&B. I need to replace the & with something. I don't think what you gave me is right as I know the # has a replacement for sure, and each replacement given uses teh # key.
|
|
|
|
dzirkelb1
Posts: 1300 Joined: 10/5/2004 From: Cedar Rapids, Iowa Status: offline
|
RE: & in a querystring - 9/12/2006 15:46:04
I think I would rather use the ULEncode than the replace. do you know what it is for the & sign?
|
|
|
|
rdouglass
Posts: 9186 From: Biddeford, ME USA Status: offline
|
RE: & in a querystring - 9/12/2006 15:51:13
%26
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
dzirkelb1
Posts: 1300 Joined: 10/5/2004 From: Cedar Rapids, Iowa Status: offline
|
RE: & in a querystring - 9/12/2006 15:53:24
Awesome, thanks!
|
|
|
|
dzirkelb1
Posts: 1300 Joined: 10/5/2004 From: Cedar Rapids, Iowa Status: offline
|
RE: & in a querystring - 9/12/2006 15:57:39
awesome, thanks a ton
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|