当前位置:首页 > 帝国教程
帝国CMS自定义列表从第N条开始查询SQL语句

来源:搜你想要的 点击数: 时间:08-11

统计记录:

select count(*) as total from [!db.pre!]ecms_news where id>(select id from [!db.pre!]ecms_news order by id desc limit 10,1) and checked=1

查询记录:

select * from phome_ecms_news where checked=1 order by newstime desc

从第10条是开始!

(搜你想要的 www.ucanfind.cn)

广告推介

最新发布

图文信息

最新视频

热门事件

资源共享