網(LieHuo.Net)教程 使用arclistsg標簽調用分類信息等單表模型出錯提示Column 'id' in where clause is ambiguous,
修改文件:include aglibarclistsg.lib.php
查找:
以下為引用的內容: else $gquery = "Select ch.addtable,listfields From `dede_arctype` tp left join `dede_channeltype` ch on ch.id=tp.channeltype where id='$typeid'"; |
替換為:
以下為引用的內容: else $gquery = "Select ch.addtable,listfields From `dede_arctype` tp left join `dede_channeltype` ch on ch.id=tp.channeltype where tp.id='$typeid'"; |