sms5 문자열 처리 및 기타문제 보완

This commit is contained in:
thisgun
2014-04-16 13:24:59 +09:00
parent a50f7ce802
commit 344a61d5a5
18 changed files with 64 additions and 15 deletions

View File

@ -27,7 +27,7 @@ if ($w == 'u') // 업데이트
if ($res)
alert('같은 그룹명이 존재합니다.');
sql_query("update {$g5['sms5_book_group_table']} set bg_name='$bg_name' where bg_no='$bg_no'");
sql_query("update {$g5['sms5_book_group_table']} set bg_name='".addslashes($bg_name)."' where bg_no='$bg_no'");
}
}
else if ($w == 'de') // 그룹삭제
@ -70,7 +70,7 @@ else // 등록
if ($res)
alert('같은 그룹명이 존재합니다.');
sql_query("insert into {$g5['sms5_book_group_table']} set bg_name='$bg_name'");
sql_query("insert into {$g5['sms5_book_group_table']} set bg_name='".addslashes($bg_name)."'");
}
goto_url('./num_group.php');