선택삭제 기능 스크립트 수정
This commit is contained in:
1 parent
6ed598e865
commit
b98157243f
2 files changed
+18
-16
No files matched your search
+2
-2
@@ -21,8 +21,8 @@ $sql = " insert into {$g4['auth_table']}
|
||||
au_auth = '{$_POST['r']},{$_POST['w']},{$_POST['d']}' ";
|
||||
$result = sql_query($sql, FALSE);
|
||||
if (!$result) {
|
||||
$sql = " update $g4['auth_table']
|
||||
set au_auth = '{$_POST[r]},{$_POST['w']},{$_POST['d']}'
|
||||
$sql = " update {$g4['auth_table']}
|
||||
set au_auth = '{$_POST['r']},{$_POST['w']},{$_POST['d']}'
|
||||
where mb_id = '{$_POST['mb_id']}'
|
||||
and au_menu = '{$_POST['au_menu']}' ";
|
||||
sql_query($sql);
|
||||
|
||||
Reference in new issue
Block a user