메인 최신글에서요....
본문
특정게시판을 빼고 나오게 하고 싶은데요....
<?php
$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 게시판도 안나오게 하고싶은데....
<?php
$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' ";
?>
빨간색으로 한부분을 추가했는데...안되는데...
잘못된부분을 알려주시면 감사하겠습니다....
답변을 작성하시기 전에 로그인 해주세요.