답변 1개 / 댓글 1개
bbs > list.php 파일 대략 160 ~ 170라인에서
$sql = " select * from {$write_table} where wr_is_comment = 0 "; 대신에
$sql = " select * from {$write_table} where wr_is_comment = 0 AND `ca_name` != '사과'";
답변을 작성하려면 로그인이 필요합니다.
bbs > list.php 파일 대략 160 ~ 170라인에서
$sql = " select * from {$write_table} where wr_is_comment = 0 "; 대신에
$sql = " select * from {$write_table} where wr_is_comment = 0 AND `ca_name` != '사과'";
답변을 작성하려면 로그인이 필요합니다.
if($list[$i]['ca_name'] == "사과") continue; /./사과로 체크 안된 게시물만 나오게 하기
이렇게 하니 한방에 해결했네요! 그래도 답변 감사합니다.