您好!欢迎来到第一资源网!本站资源24小时自动发货,海量精品课程资源免费下载!

帝国 万能标签 ecmsinfo 读取数据,从指定 行开始读取

[ecmsinfo]1,6,0,0,0,1,0,id not in (select t.id from (select * from d_ecms_news order by newstime desc limit 0,12) as t),...
[ecmsinfo]'1',6,0,0,0,1,0,'id not in (select t.id from (select * from d_ecms_news order by newstime desc limit 0,12) as t)','newstime desc'[/ecmsinfo]   这个调用方法漏掉了 栏目ID为1 的信息 这个条件我的栏目为非终极栏目,它的子栏目Id为 2,3,4,5   所以 调用方法应该改为
  [ecmsinfo]'1',6,0,0,0,1,0,'id not in (select t.id from (select * from d_ecms_news where classid in(2,3,4,5) order by newstime desc limit 0,12) as t)','newstime desc'[/ecmsinfo]   这里的12 是指不读取前12条记录,从第13条开始读取。  
开通vip
首页 导航 会员 客服 微信
QQ 微信 邮箱 TOP