简单的ASP,一个有关表单的
不知道为什么,使都得不了表单中的值,求帮助,谢谢’第一个网页,这是一个表单,提交后我想给第二个网页,可是就是得不了值
<html>
<body background="1-1.jpg">
<center>
<p align="center">
<form name="t" medth="post" action="4.asp">
账号:<input type="text" name="UID" size="15">
密码:<input type="pasword" name="PWD" size="15">
昵称:<input type="text" name="Nickname" size="15">
<br><input type="submit" name="r" value="提交">
<input type="submit" name="d" value="取消"></br>
</form>
</center>
</table>
</body>
</html>
‘第二个网页
<%language="vbscript" %>
<html>
<body>
<%
dim mysql,mycord
uid=request.form("UID")
pwd=request.form("PWD")
nickname=request.form("nickname")
set mycord=server.createobject("adodb.recordset")
mysql="select * from userid"
mycord.open mysql,"DSN=chat1",1,3
mycord.addnew
mycord("UID")=uid
mycord("pwd")=pwd
mycord("nickname")=nickname
mycord.update
%>
<p>
<table border="1">
<tr>
<td>账号</td>
<td>密码</td>
<td>昵称</td>
</tr>
<%
do while not mycord.eof
%>
<tr>
<td><%=mycord("UID")%></td>
<td><%=mycord("pwd")%></td>
<td><%=mycord("NICKNAME")%></td>
</tr>
<%
mycord.movenext
loop
mycord.close
set mycord=nothing
%>
</table>
</body>
</html>