灵动标签调用栏目自定义字段
[e:loop={"select * from {$dbtbpre}enewsclass where classid in(1,4,8,15,18) order by myorder,classid desc",0,24,0}] <?php $cr=$empire->fetch1("select * from {$dbtbpre}enewsclassadd where classid='$bqr[classid]'"); $newimg=$cr['newimg']; ?> <?=$bqr[classname]?>-<?=$newimg?> [/e:loop]