帮我看下我的提交代码为何不对

来源:百度知道 编辑:UC知道 时间:2024/05/22 14:19:12
<form action="reply.asp?action=reply" method="post" name="myform" onSubmit="return check();">
<tr>
<td height="20"> </td>
</tr>
<tr>
<td align="center">回复内容</td>
</tr>
<tr>
<td align="center" height="8"><input type="hidden" name="iid" value="request("rid")"></td>
</tr>
<tr>
<td><textarea name

strconn = "select * from reply where frepid=" & cint(request("rid"))
这句应该改成
strconn = "select * from reply where frepid=" & cint(request("&rid&"))

表单上name 是 iid
下面你用了request("id")

<form action="reply.asp?action=reply" method="post" name="myform" onSubmit="return check();"> 你缺少一个script函数阿,onSubmit="return check();你的check函数呢,没有的话应该默认false吧,估计你的提交动作根本没有执行

隐藏域中的id没接受到!