답변 5개 / 댓글 1개
채택된 답변
+20 포인트
답글 달아주셔서 감사합니다 ㅜ
https://sir.kr/qa/159134 이글을 보고 수정을 하려고 하는데
// 부모 아이디에 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}'");
이부분을 고치면 되는건가요??
답변을 작성하려면 로그인이 필요합니다.