帝國CMS任意版本可以用!屬於SQL直接輸出!
[e:loop={"select * from phome_ecms_news where title like '%電腦知識吧%' and checked=1 order by newstime desc limit 10",10,24,0}]
<a href="<?=$bqsr[titleurl]?>" target="_blank"><?=$bqr[title]?></a><br>
[/e:loop]
帝國CMS6.6以上版本可以用的語句:
[e:loop={'news',10,18,0,"title like '%電腦知識吧%'",''}]
<a href="<?=$bqsr[titleurl]?>" target="_blank"><?=$bqr[title]?></a><br>
[/e:loop]