답변 4개 / 댓글 7개
채택된 답변
+20 포인트
관리자 페이지 게시판관리에서 메인에 출력을 원하는 게시판만 출력순서를 100이상으로 해서 순서를 넣으세요
100, 110~~~
index.php 쿼리문 마지막에 추가하세요
and a.bo_order >99 order by a.bo_order
답변에 대한 댓글 5개
죄송합니다.....안되네요...오류만 나오네요...
select bo_table from `g5_board` a left join `g5_group` b on (a.gr_id=b.gr_id) where a.bo_device <> 'mobile' and a.bo_order >99 order by a.bo_order order by b.gr_order , a.bo_order
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by b.gr_order , a.bo_order' at line 3
error file : /index.php
select bo_table from `g5_board` a left join `g5_group` b on (a.gr_id=b.gr_id) where a.bo_device <> 'mobile' and a.bo_order >99 order by a.bo_order order by b.gr_order , a.bo_order
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by b.gr_order , a.bo_order' at line 3
error file : /index.php
답변을 작성하려면 로그인이 필요합니다.
from `{$g5['board_table']}` a left join `{$g5['group_table']}` b on (a.gr_id=b.gr_id)
where a.bo_device <> 'mobile' ";
어디에 덧붙이죠.....저 완전 초보라 이해가 부족합니다....^^;;