asp缺少语句

来源:百度知道 编辑:UC知道 时间:2024/05/28 11:36:14
<head><title>都市玫瑰</title></head>
<body bgcolor="#FFFFCC">
<form method="post" action="2-20.asp" name="form">
<p>
<font color="#ff0000"><%=server.htmlencode(session("name"))%></font>说:
<input type="text" name="talk">
<input type="submit" value="提交" name="B1">
<input type="reset" value="取消" name="B2">
</P>
</form>
<a href="2-20.asp">退出聊天室</a><br><br>
<%
if request.form("log")<>1 then
if trim(request.form("talk"))=""then
talk=server.htmlencode(session("name"))
else
talk=server.htmlencode(trim(request.form("talk")))
end if
application.lock
application("show")="<

改成:
<head><title>都市玫瑰</title></head>
<body bgcolor="#FFFFCC">
<form method="post" action="2-20.asp" name="form">
<p>
<font color="#ff0000"><%=server.htmlencode(session("name"))%></font>说:
<input type="text" name="talk">
<input type="submit" value="提交" name="B1">
<input type="reset" value="取消" name="B2">
</P>
</form>
<a href="2-20.asp">退出聊天室</a><br><br>
<%
if request.form("log")<>1 then
if trim(request.form("talk"))=""then
talk=server.htmlencode(session("name"))
else
talk=server.htmlencode(trim(request.form("talk")))
end if
application.lock
applicati