Problem with Query String!
eeswar | Posted 2:58pm 23. April 2010 Server Time |
Dear all,
Please help me with the problem..
I am storing some names like John smith etc in DB, again i need to print these names in a page as well as need to include it in a querystring, please see below...
<a href=showActressList.asp?name="&Rs("Name")&">"&Rs("Name")&"<br></a>
with above line i am able to see john smith but the variable Name inside querystring only displays John instead of john smith...the letters after space are getting removed some how....kindly help me with it...
thanks,
gnan |
dazlamb | Posted 8:40am 27. April 2010 Server Time |
It might just need some quotes
<a href=showActressList.asp?name='"&Rs("Name")&"'>"&Rs("Name")&"<br></a>
eeswar | Posted 4:17am 28. April 2010 Server Time |
tnx for replying, i tried adding quores but no luck...i have devided name into two as first name and last name..
<a href=showActressList.asp?name="&Rs("Name")&"&Lastname="&Rs("LastName")&">"&Rs("Name")&" "&Rs("LastName")&"</a>
now its fine...but still apriciate if some one help me out to know the problem...
tnx,
-gnan
Reply to Post Problem with Query String!
|
|
|