网上的代码为:
[e:loop={"select classimg from phome_enewsclass where classid='$GLOBAL[navclassid]'",1,24,0}]
<?=$bqr[classimg]?>
[/e:loop]
测试之后修改如下,可以正常使用
[e:loop={"select classimg from phome_enewsclass where classid=$navclassid",1,24,0}]
<?=$bqr[classimg]?>
[/e:loop]