관련상품 검색 쿼리 수정
This commit is contained in:
@ -4,8 +4,8 @@ include_once('./_common.php');
|
|||||||
|
|
||||||
$sql = " select ca_id, it_id, it_name, it_price
|
$sql = " select ca_id, it_id, it_name, it_price
|
||||||
from {$g4['shop_item_table']}
|
from {$g4['shop_item_table']}
|
||||||
where ca_id like '$ca_id%'
|
where it_id <> '$it_id'
|
||||||
and it_id <> '$it_id'
|
and ( ca_id like '$ca_id%' or ca_id2 like '$ca_id%' or ca_id3 like '$ca_id%' )
|
||||||
order by ca_id, it_name ";
|
order by ca_id, it_name ";
|
||||||
$result = sql_query($sql);
|
$result = sql_query($sql);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user