따옴표 관련 오류 수정

This commit is contained in:
chicpro
2015-10-02 17:57:46 +09:00
parent 94cc7639a9
commit 273983c87c
10 changed files with 22 additions and 18 deletions

View File

@ -217,7 +217,7 @@ if($w == '' || $w == 'a' || $w == 'r') {
$sql = " insert into {$g5['qa_content_table']}
set qa_num = '$qa_num',
mb_id = '{$member['mb_id']}',
qa_name = '{$member['mb_nick']}',
qa_name = '".addslashes($member['mb_nick'])."',
qa_email = '$qa_email',
qa_hp = '$qa_hp',
qa_type = '$qa_type',