请教一问题语句
PSP_Item 是表名,ItemID是表的主键列名,请问我是那里搞错了,请帮忙呀!!!<%
dim rs,sql,i,count,username,qq,ItemID,email,dianhua
ItemID=trim(request("ItemID"))
username=request.cookies("cnmai")("username")
set rs=server.createobject("adodb.recordset")
sql = "select * from PSP_Item where username='"&username&"' and ItemID="&cstr(ItemID)
rs.open sql,conn,1,1
if rs.eof then
errcnmai(0)
response.end
end if
qq=rs("qq")
rs.close
sql = "select * from class2 order by paixu desc"
rs.open sql,conn,1,1
%>