갯수 -> 개수, 뮤죤님

This commit is contained in:
whitedot
2013-11-12 14:20:47 +09:00
parent f13964c6ec
commit 4ef22669d1
7 changed files with 20 additions and 20 deletions

View File

@ -106,17 +106,17 @@ if ($row['it_id']) {
$next_href2 = '';
}
// 관리자가 확인한 사용후기의 수를 얻음
// 관리자가 확인한 사용후기의 수를 얻음
$sql = " select count(*) as cnt from `{$g5['g5_shop_item_use_table']}` where it_id = '{$it_id}' and is_confirm = '1' ";
$row = sql_fetch($sql);
$item_use_count = $row['cnt'];
// 상품문의의 수를 얻음
// 상품문의의 수를 얻음
$sql = " select count(*) as cnt from `{$g5['g5_shop_item_qa_table']}` where it_id = '{$it_id}' ";
$row = sql_fetch($sql);
$item_qa_count = $row['cnt'];
// 관련상품의 수를 얻음
// 관련상품의 수를 얻음
$sql = " select count(*) as cnt
from {$g5['g5_shop_item_relation_table']} a
left join {$g5['g5_shop_item_table']} b on (a.it_id2=b.it_id and b.it_use='1')