高手看下我的代码有错
<%if request.Cookies("id")="" then
response.Cookies("id")=1
else
response.Cookies("id")=request.Cookies("id")+1
end if
<!--#include file="conn/conn.asp"-->
<%
sql="select * from 职工信息"
rs.open sql,cn,1,1
if request.Cookies("id")>rs.recordcount
response.Cookies("id")=1
end if
sql="select * from 职工信息 where id=" & request.Cookies("id")
rs.open sql,cn,1,1
response.Write rs("照片")
%>
<img src=<%=rs("照片")%> />
这段代码哪里错了啊