|

楼主 |
发表于 2015-7-12 21:44:57
|
显示全部楼层
嗯,现在看来那个问题是问的很傻的!
$sql = "select a.*,b.attr_value as default_value from ci_attribute as a left join ci_goods_attr as b on a.attr_id = b.attr_id
and b.goods_id = $goods_id where a.type_id = $type_id";
这个我查百度查不到,谷歌也上不去。。。。
|
|