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

@ -167,7 +167,7 @@ if ($w == 'c') // 댓글 입력
wr_10 = '$wr_10' ";
sql_query($sql);
$comment_id = mysql_insert_id();
$comment_id = sql_insert_id();
// 원글에 댓글수 증가 & 마지막 시간 반영
sql_query(" update $write_table set wr_comment = wr_comment + 1, wr_last = '".G5_TIME_YMDHIS."' where wr_id = '$wr_id' ");