메인 최신글에서요.... 채택완료
초보엄마
10년 전
조회 2,963
특정게시판을 빼고 나오게 하고 싶은데요....
$count = count($list);
for ($i=0; $i<$count; $i++) {
//seo 특정게시판 빼기
$sql_common = " from {$g5['board_new_table']} a, {$g5['board_table']} b where a.bo_table = b.bo_table and b.bo_use_search = 1 and a.bo_table != 'aaa' ";
?>
이렇게 하니....aaa게시판을 안나오는데....
bbb 게시판도 안나오게 하고싶은데....
$count = count($list);
for ($i=0; $i<$count; $i++) {
//seo 특정게시판 빼기
$sql_common = " from {$g5['board_new_table']} a, {$g5['board_table']} b where a.bo_table = b.bo_table and b.bo_use_search = 1 and a.bo_table != 'aaa' || a.bo_table !='bbb' ";
?>
빨간색으로 한부분을 추가했는데...안되는데...
잘못된부분을 알려주시면 감사하겠습니다....
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
답변을 작성하려면 로그인이 필요합니다.
로그인