第一种:通过查询SQL语句的方法!
[e:loop={"select * from phome_ecms_news where title like '%帝国cms%' order by newstime desc limit 10",10,24,0}]
<a href="<?=$bqsr[titleurl]?>" target="_blank"><?=$bqr[title]?></a><br>
[/e:loop]
第二种:默认灵动标签的方法!
[e:loop={'news',10,18,0,"title like '%帝国cms%'",''}]
<a href="<?=$bqsr[titleurl]?>" target="_blank"><?=$bqr[title]?></a><br>
[/e:loop]