shop 테이블명 g5_shop 으로 변경
This commit is contained in:
@ -22,7 +22,7 @@ $itemuse_formupdate = "./itemuseformupdate.php?it_id=".$it_id;
|
||||
wr_4 : 관리자확인
|
||||
*/
|
||||
//$sql_common = " from `{$g5['write_prefix']}itemuse` where wr_is_comment = 0 and wr_1 = '{$it['it_id']}' and wr_4 = '1' ";
|
||||
$sql_common = " from `{$g5['shop_item_use_table']}` where it_id = '{$it_id}' and is_confirm = '1' ";
|
||||
$sql_common = " from `{$g5['g5_shop_item_use_table']}` where it_id = '{$it_id}' and is_confirm = '1' ";
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
$sql = " select COUNT(*) as cnt " . $sql_common;
|
||||
|
||||
Reference in New Issue
Block a user