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

@ -98,7 +98,7 @@ for ($i = 1; $i <= $num_rows; $i++) {
}
else if (!$confirm && $hp)
{
sql_query("insert into {$g5['sms5_book_table']} set bg_no='$bg_no', bk_name='$name', bk_hp='$hp', bk_receipt=1, bk_datetime='".G5_TIME_YMDHIS."'");
sql_query("insert into {$g5['sms5_book_table']} set bg_no='$bg_no', bk_name='".addslashes($name)."', bk_hp='$hp', bk_receipt=1, bk_datetime='".G5_TIME_YMDHIS."'");
sql_query("update {$g5['sms5_book_group_table']} set bg_count = bg_count + 1, bg_nomember = bg_nomember + 1, bg_receipt = bg_receipt + 1 where bg_no='$bg_no'");
$success++;
}