회계 스킨(10-10 수정) Fatal error 해결 방법
본문
회계 스킨(10-10 수정)
안녕하세요.
위에 스킨 사용해서 회계 계정을 등록하면 아래와 같은 메시지가 나오고 등록은 되긴 하는데 해결 방법이 궁금합니다. 감사합니다^^
Fatal error: Uncaught Error: Call to undefined function mysql_insert_id() in /web/home/yejicenter/html/skin/board/financialAcct/apply.php on line 49 Error: Call to undefined function mysql_insert_id() in /web/home/yejicenter/html/skin/board/financialAcct/apply.php on line 49 Call Stack: 0.0004 380080 1. {main}() /web/home/yejicenter/html/skin/board/financialAcct/apply.php:0
$wr_id = mysql_insert_id();
// 부모 아이디에 UPDATE
sql_query(" update $write_table set wr_parent = '$wr_id' where wr_id = '$wr_id' ");
// 새글 INSERT
sql_query(" insert into {$g5['board_new_table']} ( bo_table, wr_id, wr_parent, bn_datetime, mb_id ) values ( '{$bo_table}', '{$wr_id}', '{$wr_id}', '".G5_TIME_YMDHIS."', '{$member['mb_id']}' ) ");
// 게시글 1 증가
sql_query("update {$g5['board_table']} set bo_count_write = bo_count_write + 1 where bo_table = '{$bo_table}'");
ps. 계정 등록 후 목록에서 게시글 번호가 1, 2, 3이 아닌 0, -1, -2, -3으로 되어 있어서 해당 문제와 관련이 있는지 궁금합니다(등록된 계정 삭제시도시 삭제되지 않고 그냥 보임)