게시판 연동하면서,,, 번호가 -1로 뜨네요 어떻게 해야하나요
본문
한 bo_table을 이용해, 상품 이미지 아래 후기를 쓴 곳으로 글을 추합하기 위해 쿼리를 전부 고쳤습니다만,
게시판으로 돌아와서 보면 글이 마이너스로 내려가네요
shop / itemuseformupdate.php
에 인설트할때
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}'");
다음과 같은 내용을 넣었는데도 되지 않네요
어떻게 해야 하나요?
답변을 작성하시기 전에 로그인 해주세요.