encoding tekststring for querystring

Results 1 to 2 of 2

Thread: encoding tekststring for querystring

  1. #1
    arthur de smidt Guest

    Default encoding tekststring for querystring

    I have a problem with a querystring which contains spaces and not %20 or something like that<BR>the total url string is build in asp like<BR>&#060;a href="whlist.asp?whname=&#060;%=whname%&#062;<BR>w hname can contain spaces, is there a function that I can decode whname to a proper string for a querystring request ?? <BR><BR><BR>

  2. #2
    Eddie Campbell Guest

    Default RE: encoding tekststring for querystring

    Try this.<BR>&#060;a href="whlist.asp?whname=&#060;%=server.urlencode(w hname) %&#062;<BR><BR>server.urlencode will turn all dodgy chars into ones html will be happy with :)<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
  •