and id<>"&id&" 这句话是什么意思?
asp吧
全部回复
仅看楼主
level 13
金鳌 楼主
<%
set rs=server.CreateObject("adodb.recordset")
str="select top 12 * from hn_nongye where classId=6 and id<>"&id&" order by id desc"
rs.open str,conn,3,1
if not rs.eof and not rs.bof then
do while not rs.eof
%>
这里的id<>"&id&"是什么意思啊?
2015年05月28日 07点05分 1
level 12
限定数据范围
查询 id 不等于某个值的 记录
2015年05月28日 09点05分 2
可是这个值是从根据什么判断的那?
2015年05月29日 10点05分
你的程序,你问我啊?
2015年05月29日 10点05分
回复 fank57 :我不懂啊。不知道他应该不等于哪个id
2015年05月29日 15点05分
1