Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass a parameter with plus sign

Status
Not open for further replies.

foxbox

Programmer
Sep 11, 2000
1,052
NL
In A.ASP i show the user a list of records from a MS-SQL7 database TY. The user may select 1 record for update. This is done in program B.ASP
TY has one primary key field: tycode. Examples of codes are: 1x, 2x, 2-, 2+, 4x, 4-, 4+, etc.

When a user clicks on a link like this:
<a href=&quot;b.asp?tycode=4+&quot;>change</a>

b.asp is receiving &quot;4&quot; !

how do i solve this?



 
found it myself....
server.urlEncode(&quot;tycode&quot;) in my script,
which results in eg 4++ in the browser source...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top