asp wml post传值
我在asp中wml post传值出现问题,只能传递第一个postfield的值,把postfield换一下顺序能传递并接收到第一个的。我在接收页面用代码验证是没有接收到值。肯定是发送页面的问题。请高人指点
<big>
<anchor title="search">我要查询GO<go href="result.asp" method="post">
<postfield name="btnzone" value="btnzone"/> '只有这第一个能收到,下面的都不行。
<postfield name="btnweek" value="btnweek"/>
<postfield name="btnday" value="btnday"/>
<postfield name="btnbuilding" value="btnbuilding"/>
<postfield name="btntype" value="default" />
</go></anchor></big>
接收页面:
btnzone=request.FORM("btnzone")
btnweek=request.FORM("btnweek")
btnbuilding=request.FORM("btnbuilding")
btnday=request.FORM("btnday")
btntype=request.FORM("btntype")
stock=request.FORM("stock")
page=request.FORM("page")
if request.FORM("btnzone")="" then
Response.Write"btnzone无值<br>"
end if
if request.FORM("btnweek")="" then
Response.Write"btnweek无值<br>"
end if
if request.FORM("btnbuilding")="" then
Response.Write"btnbuilding无值<br>"
end if
if request.FORM("btnday")="" then
Response.Write"btnday无值<br>"
end if
if request.FORM("btntype")="" then
Response.Write"btntype无值<br>"
end if
Response.Write""&btnzone&""
Response.Write""&btnweek&""
Response.Write""&btnbuiding&""
Response.Write""&btnday&""
Response.Write""&btntype&""