따옴표로 인한 오류 수정

This commit is contained in:
chicpro
2015-10-02 17:50:57 +09:00
parent dc8fbb05ef
commit 44fc7a257b
8 changed files with 8 additions and 8 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',