답변 3개 / 댓글 1개
채택된 답변
+20 포인트
최신글 쿼리문을 아래와 같이 수정해 주시면 됩니다.
Copy
$sql = " select * from $tmp_write_table where wr_is_comment = 0 and wr_reply = '' order by wr_id desc limit 0, $rows ";
답변을 작성하려면 로그인이 필요합니다.
$sql = " select bf_file, bf_content from {$g5['board_file_table']}
where bo_table = '$bo_table' and wr_id = '$wr_id' and bf_type between '1' and '3' order by bf_no limit 0, 1 "; 이부분을 그대로...