String concatenation in ASP
I am facing a probl开发者_JAVA技巧em with concatenating strings in Classic ASP:
<%=xlagc("http://www.abc.com.au/templates/?a=<%=request.QueryString("a")%>& "&z="<%=request.QueryString('z')%>")
I'm trying to format the call to look like so:
Any help will be appreciated.
When you reach /?a=
, you're already inside an ASP block, so you want to use & to concatenate that query string variable:
<%=xlagc("http://www.abc.com.au/templates/?a=" & request.QueryString("a") & "&z=" & request.QueryString("z"))%>
精彩评论