arclist标签中调用附加表字段-DEDECMS教程

http://www.3389hack.com/xueyuan/wangzhan/cms/DEDECMS/2769.html


[field:id runphp="yes"]
$dsql = new DedeSql(false);
$a="SELECT mb5u.新增字段名 FROM dede_附加表名 as mb5u where mb5u.aid=@me";
$arcRow = $dsql->GetOne($a);
@me=''.$arcRow[新增字段名].'';
[/field:id]


gdl_addonshop

你可能感兴趣的:(arclist标签中调用附加表字段-DEDECMS教程)