관리자: 변수 상수 제외 홑따옴표
This commit is contained in:
1 parent
a441937076
commit
b023c3414d
55 files changed
+594
-598
No files matched your search
@@ -13,12 +13,12 @@ for ($i=0; $i<count($chk); $i++)
|
||||
// 실제 번호를 넘김
|
||||
$k = $_POST['chk'][$i];
|
||||
|
||||
$sql = " delete from {$g4['point_table']} where po_id = '{$_POST[po_id][$k]}' ";
|
||||
$sql = " delete from {$g4['point_table']} where po_id = '{$_POST['po_id'][$k]}' ";
|
||||
sql_query($sql);
|
||||
|
||||
$sql = " select sum(po_point) as sum_po_point from {$g4['point_table']} where mb_id = '{$_POST['mb_id'][$k]}' ";
|
||||
$row = sql_fetch($sql);
|
||||
$sum_point = $row[sum_po_point];
|
||||
$sum_point = $row['sum_po_point'];
|
||||
|
||||
$sql= " update {$g4['member_table']} set mb_point = '{$sum_point}' where mb_id = '{$_POST['mb_id'][$k]}' ";
|
||||
sql_query($sql);
|
||||
|
||||
Reference in new issue
Block a user