sql调用
select * from phome_ecms_表 where istop=0 and isgood=0 and firsttitle=0 and checked=1 order by newstime desc limit 10

 

解释:
istop=0       是排除置顶 信息
isgood=0     是排除推荐 信息
firsttitle=0 是排除头条 信息
灵动标签简化版写法
sql附加条件’istop=0 and isgood=0 and firsttitle=0 and checked=1′