level 1
1030417862
楼主
这是rec.asp的代码 CONN。asp的文件代码没有问题
<!--#include file="../conn.asp"-->
<%
dim yonghuming,code
yonghuming=request("u")
code=request("c")
rs.open "select * from yonghu where position='" & yonghuming & "' and code='" & code & "'",con,1,1
if rs.bof and rs.eof then
rs.close
response.write("1")
response.end
else
rs("times")= rs("times")+1
rs.close
rs.update
set rs=nothing
response.write("0")
response.end
end if
%>
浏览器访问http://127.0.0.1/rec.asp?=&u=test&c=12345 网页返回 80008004
有点烦恼 ~ 我想实现的是 当u和c的内容符合时候就往这条记录上的times加1
就是要出现这个错误。谢谢大家了 刚刚学习ASP 有点搞不懂
2016年07月25日 11点07分
1
<!--#include file="../conn.asp"-->
<%
dim yonghuming,code
yonghuming=request("u")
code=request("c")
rs.open "select * from yonghu where position='" & yonghuming & "' and code='" & code & "'",con,1,1
if rs.bof and rs.eof then
rs.close
response.write("1")
response.end
else
rs("times")= rs("times")+1
rs.close
rs.update
set rs=nothing
response.write("0")
response.end
end if
%>
浏览器访问http://127.0.0.1/rec.asp?=&u=test&c=12345 网页返回 80008004
有点烦恼 ~ 我想实现的是 当u和c的内容符合时候就往这条记录上的times加1
就是要出现这个错误。谢谢大家了 刚刚学习ASP 有点搞不懂