欢迎访问爱油菜中文网!
您所在的位置:首页 > 代码学苑 > 网建教程

帝国CMS搜索关键字统计(和tag一样)灵动方法!

作者:来源:帝国CMS发表于:2020-05-13 18:44:13

[e:loop={"select searchid,keyboard,result_num from phome_enewssearch where iskey=0 order by onclick desc limit 10",10,24,0}]
<a href="/e/search/result/?searchid=<?=$bqr[searchid]?>" target="_blank"><?=$bqr[keyboard]?></a>(记录数:<?=$bqr[result_num]?>条)&nbsp;&nbsp;
[/e:loop]

指定一个栏目where iskey=0 and classid=1
指定多个栏目where iskey=0 and classid in(1,2,3........)





相关文章
    无相关信息