[e:loop={'select * from [!db.pre!]enewssearch order by searchid desc limit 10',10,24,0}]<a href="/search-0-<?=$bqr['searchid']?>.html" target="_blank"><?=$bqr['keyboard']?></a> <br>[/e:loop]

 

查询enewssearch表 输出10条数据,按照searchid最新来排序。