能发送,却接收不到
小弟第一次写asp输入源码
<form name="form1" method="post" action="jieshou.asp">
<tr>
<td>机号 <input type="text" name="jh"></td>
<td>症状 <input type="text" name="zz"></td>
<td>处理办法 <input type="text" name="clqk" value=""></td>
<td>备注 <input tpye="text" name="bz"></td>
<td>日期 <input type="text" name="sj"></td>
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</form>
接收源码
<%
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("db1.mdb")
jh=request.form("jh")
zz=request.form("zz")
clqk=request.form("clqk")
bz=request.form("bz")
sj=request.form("sj")
exec="insert into wjjlxx (jh,zz,clqk,bz,sj)values('"+jh+"','"+zz+"','"+clqk+"','"+bz+"','"+sj+"')"
conn.execute exec
conn.close
set conn=nothing
response.write "记录添加成功!"
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<meta http-equiv="refresh" content="2;URL=index.asp">