im having trouble sending a value to another page using querystring..
the value is:
when i load this value from my database and display it on my first page, it displays correctly using the following:
i try to send that string to another page as Postcode using this script
on my second page i receive the value like so:
and display the value using
the problem is.. Elephant & Castle is only displaying as Elephant on the new page
can anyone see why it is cutting off the rest of the string.
thanks
the value is:
Code:
Elephant & Castle
when i load this value from my database and display it on my first page, it displays correctly using the following:
Code:
<%= rs("placeNAME")%>
i try to send that string to another page as Postcode using this script
Code:
<form action="online-booking1.asp?Price=<%=sTempVar & "163;" & trim(rs("salPRICE"))%>&Postcode=<%= rs("placeNAME")%>&FCar=Saloon" method="post">
on my second page i receive the value like so:
Code:
zpostcode = Request.QueryString("Postcode")
and display the value using
Code:
<%=(zpostcode)%>
the problem is.. Elephant & Castle is only displaying as Elephant on the new page
can anyone see why it is cutting off the rest of the string.
thanks