为什么我的form提交的内容没有,请进见代码

yyb2000 2000-06-07 12:24:00
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新网页 2</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
</head>
<%
dim a,b
a=65535
if request.("T1")<>"" then
response.write cstr(a)&"<br>"
response.write "T1="&T1&"<br>"
b=clng(t1) and 65535
response.write "b="&cstr(b)&"<br>"
else
response.write "数据没request!!!"
response.write "<a href='abc1.asp'>back</a>"
end if
%>

<body>

<form method="POST" action="abc1.asp">
<p><input type="text" name="T1" size="20" value="222"><input type="submit" value="提交"
name="B1"><input type="reset" value="复原" name="B2"></p>
</form>
</body>
</html>
...全文
118 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
KaoShi 2000-07-04
  • 打赏
  • 举报
回复
用request("T1")吧!request(T1)不知道可不可以?
willzzq 2000-07-04
  • 打赏
  • 举报
回复
;(
TopHead 2000-06-07
  • 打赏
  • 举报
回复
request.("T1")应写成request.form("T1")取得T1的内容。
yyb2000 2000-06-07
  • 打赏
  • 举报
回复
我自己已解决,response.write "t1="&request(T1)

28,391

社区成员

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

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