Forums
This topic is locked
how do i pass a parameter with a "%20"
Posted 05 Sep 2007 20:20:38
1
has voted
05 Sep 2007 20:20:38 Russell Isaac posted:
using dreqmweaver 8, and using Advanced Open Windows to try to open a pop up which is filtered on a parameter - the required parameter, for instance, is localhost/acerola/designer_profile.asp?designer_name=Sergio%20Rodrigues
when the parameter is passed though, it passes
localhost/acerola/designer_profile.asp?designer_name=Sergio Rodrigues
without the %20 between the names
it therefore doesnt work.
if i pass the parameter without using Advanced Open Windows it passes the parameter fine.
any clues on what i'm doing wrong and how i right it in Advanced open Windows (i'm using the browse button to find the file and add the designer_name recordset parameter to get the required parameter to pass.
any help gratefully appreciated
Replies
Replied 30 Sep 2007 03:40:34
30 Sep 2007 03:40:34 Aaron Page replied:
You need to use the UrlEncode Method or an escape method. There is alot of information on both. here is one from w3 schools:
www.w3schools.com/asp/met_urlencode.asp Hope it helps.
www.w3schools.com/asp/met_urlencode.asp Hope it helps.