Forums
This topic is locked
Problem Passing Info Via Href in dwmx
Posted 26 Feb 2003 21:08:31
1
has voted
26 Feb 2003 21:08:31 Paul Duxbury posted:
Hello,can anyone help ?
I am passing a recordset field to another page for it to display the relevant information. Below is a sample of how i have done this :
<a href="Products.asp?Product_List=Light Guards">
the problem i have is the address bar on the next page displays the href as
Products.asp?Product_List=Light%20Guards
How can i get rid of the %20 but keep the space in the field in the database.
ie address bar to show : Products.asp?Product_List=Light+Guards
but field in database is 'Light Guards'
any info appreciated.
-| Paul |-
Replies
Replied 26 Feb 2003 22:22:55
26 Feb 2003 22:22:55 Brent Colflesh replied:
Dear Paul,
%20 is the ASCII equivalent of space.
Regards,
Brent
%20 is the ASCII equivalent of space.
Regards,
Brent
Replied 26 Feb 2003 22:52:20
26 Feb 2003 22:52:20 Paul Duxbury replied:
Thanks Brent but i know %20 is the ascii code for a space but how do i get it to put a + sign if it sees a space.
ie
Problem Passing Info Via Href In DWMX =
Problem+Passing+Info+Via+Href+in+dwmx
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Dear Paul,
%20 is the ASCII equivalent of space.
Regards,
Brent
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
-| Paul |-
ie
Problem Passing Info Via Href In DWMX =
Problem+Passing+Info+Via+Href+in+dwmx
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Dear Paul,
%20 is the ASCII equivalent of space.
Regards,
Brent
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
-| Paul |-
Replied 26 Feb 2003 23:22:51
26 Feb 2003 23:22:51 Brent Colflesh replied:
Dear Paul,
Depends on the scripting language you are using - most have url_format commands or string_replacement functions you can use...
What is your environment?
Regards,
Brent
Depends on the scripting language you are using - most have url_format commands or string_replacement functions you can use...
What is your environment?
Regards,
Brent
Replied 27 Feb 2003 19:03:20
27 Feb 2003 19:03:20 Paul Duxbury replied:
Hi Brent,
I`m using asp with vbscript on iis 5
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Dear Paul,
Depends on the scripting language you are using - most have url_format commands or string_replacement functions you can use...
What is your environment?
Regards,
Brent
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
-| Paul |-
I`m using asp with vbscript on iis 5
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Dear Paul,
Depends on the scripting language you are using - most have url_format commands or string_replacement functions you can use...
What is your environment?
Regards,
Brent
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
-| Paul |-
Replied 27 Feb 2003 20:17:43
27 Feb 2003 20:17:43 Brent Colflesh replied:
Dear Paul,
msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsfctreplace.asp
Regards,
Brent
msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsfctreplace.asp
Regards,
Brent