[已解决]嵌套查询问题
{php $tags=tag("table=special_item&condition=specialid=$itemid and thumb''&pagesize=$cfg_photo&order=addtime desc&target=_blank&template=null");}{loop $tags $t}
{/loop}
这里我把标签中的
{$t}
给换成值就可以调出来,但是用变量就是不行
[ 本帖最后由 wushouge 于 2012-7-28 16:59 编辑 ]
解决方法a.title='".$t."'
如果字段是数字类型的a.title=".$t."
页:
[1]