Html ASP经典代码返回true而不是response.write结果
我有一段ASP经典代码,它不是响应写我的信息,而是返回“true” 以下是相关行:Html ASP经典代码返回true而不是response.write结果,html,asp-classic,Html,Asp Classic,我有一段ASP经典代码,它不是响应写我的信息,而是返回“true” 以下是相关行: response.write "<a href='search.htm?supplier_name= & request.querystring('supplier_name') & "&aircraft_type=" & request.querystring('aircraft_type') & "&state=" & request.querys
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>"
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>"
response.write“”
我认为问题与本节有关:
& "&order=state'>State</a>"
&“&order=state'>state”
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
%>
供应商名称=后缺少双引号:
response.write“”