wushouge 发表于 2012-7-28 11:04:46

[已解决]嵌套查询问题

{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 编辑 ]

wushouge 发表于 2012-7-28 16:54:27


解决方法a.title='".$t."'
如果字段是数字类型的a.title=".$t."
页: [1]
查看完整版本: [已解决]嵌套查询问题