我有一段 ASP Classic 代码,它不是响应写入我的信息,而是返回“true”
这是相关的行:
response.write "<a href='search.htm?supplier_name= & request.querystring('supplier_name') & "&aircraft_type=" & request.querystring('aircraft_type') & "&state=" & request.querystring('state') & "&order=state'>State</a>"
我相信这个问题与本节有关:
& "&order=state'>State</a>"
完整的 ASP 代码:
<%
if request.querystring("order") = "state" then
response.write("State")
else
response.write "<a href='search.htm?supplier_name= & request.querystring('supplier_name') & "&aircraft_type=" & request.querystring('aircraft_type') & "&state=" & request.querystring('state') & "&order=state'>State</a>"
end if
%>