取得表单提交的所有数据
(编辑:jimmy 日期: 2024/11/26 浏览:3 次 )
复制代码 代码如下:
<% For Each x In Request.Form %>
Request.Form( <%= x %> ) = <%= Request.Form(x) %> <BR>
<% Next %>
或
<%
For i = 1 To Request.Form("inputname").Count
Response.Write Request.Form("inputname")(i) & "<BR>"
Next
%>
<% For Each x In Request.Form %>
Request.Form( <%= x %> ) = <%= Request.Form(x) %> <BR>
<% Next %>
或
<%
For i = 1 To Request.Form("inputname").Count
Response.Write Request.Form("inputname")(i) & "<BR>"
Next
%>
下一篇:支持加号空格的查询