two word phrase being truncated

Results 1 to 2 of 2

Thread: two word phrase being truncated

  1. #1
    Join Date
    Dec 1969

    Default two word phrase being truncated

    I&#039m trying to create a link using variables defined on a page, but when I use the variables, one in particular, if they&#039re more than one word, only the first word comes through to the next page. How can I correct this?<BR><BR>Here&#039s some code<BR><BR>response.write ("&#060;a class=plainlink href=printemplinfo.asp?fname=" & fname & "&lname=" & lname & "&catID=" & catID & "&#062;Link&#060;/a&#062;")<BR><BR>Where catID is "All Employees". When you look at what&#039s in the address after you click on the link, it only comes up with "&catID=All"<BR><BR>Any help is appreciated!<BR><BR>Thanks<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Server.URLEncode

    response.write ("&#060;a class=plainlink href=printemplinfo.asp?fname=" & Server.URLEncode(fname) _<BR>&nbsp; &nbsp; &nbsp; &nbsp; & "&lname=" & Server.URLEncode(lname) _<BR>&nbsp; &nbsp; &nbsp; &nbsp; & "&catID=" & Server.URLEncode(catID) & "&#062;Link&#060;/a&#062;")<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts