标签:
使用sql查询:SELECT a.*,b.gs_schoolnamecn,b.gs_schoolnameen FROM tsh_greenaction a LEFT JOIN tsh_greenschool b on a.greenschoolid=b.id
使用thinkphp连贯操作:
dump($temp);
thinkphp left join关联查询
原文地址:http://www.cnblogs.com/panqingqiang/p/4271169.html