MySQLi 지원 추가

This commit is contained in:
chicpro
2015-10-12 14:12:45 +09:00
parent e016679e67
commit f1c56fe70c
23 changed files with 170 additions and 88 deletions

View File

@ -70,7 +70,7 @@ if ($wr_content && ($member['mb_level'] >= $board['bo_comment_level']))
wr_ip = '{$_SERVER['REMOTE_ADDR']}' ";
sql_query($sql);
$comment_id = mysql_insert_id();
$comment_id = sql_insert_id();
// 원글에 코멘트수 증가
sql_query(" update $write_table set wr_comment = wr_comment + 1 where wr_id = '$wr_id' ");