View Full Version : How to pass & in query string??
01-17-2005, 10:18 AM
i have trying to pass string on next page throug qurey strong
but when i try to get in next page its taken only first word.
Like nokia 3600 orange network
when i get on next page id taken only nokia..
01-18-2005, 03:58 PM
Could you post some code or post the url....
Ususally it should escape the string and put like a "%20" for the space.
01-18-2005, 04:00 PM
You should also try using the Post method to see if the same thing happens! :rolleyes:
01-18-2005, 04:41 PM
if you use this
<a href="page.asp?phone=nokia 3600 orange network">link</a>
you should be able to read it fine with
make sure you have the "s in the link though, a lot of people dont, or use '.. both of these are pants and you should always use "s
you didnt actaully say anything about ampersands (&) but if you pass this in the link it needs to be changed to the urlencode of it (in the same way that space is %20)
<a href="page.asp?toothpaste=<%=Server.URLEncode("arm&hammer, it must be the baking soda")%>">
i think.. if you send it as & it will think you are sending a 2nd querystring, eg
01-20-2005, 11:21 AM
i got solution using urlencode..
Tnanks again... :)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.