循环取form对象值,循环取服务器端变量

<%
for each item in request.form
 
 Response.Write item&"="&Request.form(item)
 sql="select * from custom where custom_id="&Request.form("custom_id")
 rs.open sql,conn,1,1

 Response.Write("<hr>")

next

 

%>
<!--
For Each Item In Request.ServerVariables
 'response.write Item&" = "&Request.ServerVariables(Item)&"<BR>"&vbcrlf
next
'response.write "dd"

<FORM METHOD=get ACTION="outresult.asp">
<INPUT TYPE="text" NAME="name" value=ww>
<INPUT TYPE="text" NAME="named" value=ww>
<INPUT TYPE="submit">
</FORM>
-->

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页