提交表单的问题

capo 2004-01-13 09:19:49
请问各位,为何提交表单时,会出现只提交表格的第一行,而第二行开始就无法提交上去。有人碰到过这种情况没有?请赐教!
...全文
89 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
capo 2004-01-13
  • 打赏
  • 举报
回复
问题找到了,犯了个低级错误。不过还要感谢各位!
more000 2004-01-13
  • 打赏
  • 举报
回复
form里的判断语句的逻辑和包含文件这两个地方有问题

把你的思路说出来 ,应该会有别的更好的方法来实现你的功能
blue_butterfly 2004-01-13
  • 打赏
  • 举报
回复
晕~~
xzq686 2004-01-13
  • 打赏
  • 举报
回复
晕,这样的代码?
没有错误信息,那就是剩下的都提交过去空值。
用的包涵文件太多,上哪找错呀??
晕!
capo 2004-01-13
  • 打赏
  • 举报
回复

<!--#include file="conn.asp"-->

<%
'-----------------------------------------
username=Request.Cookies("username")
dw=Request.Cookies("dw")
if username="" then
response.redirect "index.asp"
response.end
end if

'--------------------------------------
%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head>

<body>
<div align="center">

<table border="0" width="1200" height="120" cellspacing="0" cellpadding="0">
<form method="post" action="editdayfindb.asp">
<tr>
<td align="center" height="100%">
<p align="center"><!--#include file="dayhead.htm"-->


 </td>
</tr>
<% If dw="作业二区" then %>
<tr>
<td height="100%" align="right">
<p align="center"> <!--#include file="bodyup.htm"-->
</td>
</tr>
<% else %>
<tr>
<td align="center" height="100%">
<p align="center"> <!--#include file="bodydown.htm"--></td>
</tr>
<% end if %>
<% If dw="全局" then %>
<tr>
<td height="100%" align="right">
<p align="center"> <!--#include file="bodyup.htm"-->
</td>
</tr>
<tr>
<td>
<p align="center"><!--#include file="button.htm"--></td>
</tr>

<% else %>
<tr>
<td>
<p align="center"><!--#include file="button.htm"--></td>
</tr>

<% end if %>
</form>
</table>

</div>
</body>

</html>
xzq686 2004-01-13
  • 打赏
  • 举报
回复
代码和出错信息帖出来
潜水的鱼 2004-01-13
  • 打赏
  • 举报
回复
说清楚,把代码帖出来

28,407

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧