这段asp代码那里错误,报这句错误:if rs("gz")=1 then
<!--#includefile="conn.asp"--><%nc=request.querystring("nc")setrs=server.createobject...
<!--#include file="conn.asp" -->
<%
nc=request.querystring("nc")
set rs=server.createobject("adodb.recordset")
sql="select * from gz order by id desc"
rs.open sql,conn,1,1
if rs("gz")=1 then
response.write"不能管住自己"
else
set rs1=server.createobject("adodb.recordset")
sql="insert into gz (file1,nc,gz) values ('"+session("file1")+"','"+nc+"','1')"
rs1.open sql,conn,1,3
set rs2=server.createobject("adodb.recordset")
sql="select * from gz where nc='"&nc&"'"
rs2.open sql,conn,1,1
do while not rs2.eof
%>
<table width="800" border="0">
<tr>
<td><%=rs2("nc")%></td>
</tr>
</table>
<%
rs2.movenext
loop
end if
%>
这段asp代码那里错误,报这句错误:if rs("gz")=1 then 展开
<%
nc=request.querystring("nc")
set rs=server.createobject("adodb.recordset")
sql="select * from gz order by id desc"
rs.open sql,conn,1,1
if rs("gz")=1 then
response.write"不能管住自己"
else
set rs1=server.createobject("adodb.recordset")
sql="insert into gz (file1,nc,gz) values ('"+session("file1")+"','"+nc+"','1')"
rs1.open sql,conn,1,3
set rs2=server.createobject("adodb.recordset")
sql="select * from gz where nc='"&nc&"'"
rs2.open sql,conn,1,1
do while not rs2.eof
%>
<table width="800" border="0">
<tr>
<td><%=rs2("nc")%></td>
</tr>
</table>
<%
rs2.movenext
loop
end if
%>
这段asp代码那里错误,报这句错误:if rs("gz")=1 then 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询