帝国cms灵动标签按sql语句查询

内容摘要
<ul> [e:loop={"select title from {$dbtbpre}ecms_flag where id=&#39;$navinfor[wfrom]&#39; order by id desc",1,24,0,&#39;&#39;,&#39;&#39;}]
<li> <a href="<?=$bqsr
文章正文
<ul> [e:loop={"select title from {$dbtbpre}ecms_flag where id='$navinfor[wfrom]' order by id desc",1,24,0,'',''}]
<li> <a href="<?=$bqsr[titleurl]?>" target="_blank"><?=$bqr[title]?></a> (<?=date('Y-m-d',$bqr[newstime])?>) </li>
[/e:loop]
</ul>
代码注释

作者:喵哥笔记

IDC笔记

学的不仅是技术,更是梦想!