인덱스 부분에 게시판 wr넣기 정보
인덱스 부분에 게시판 wr넣기본문
일단 검색검색하다 이걸 어떻게 검색해야할까 이것저것 조합해서 검색한지 이틀째...
php는 거의 어린아이 걸음마 수준도 안돼는것 같습니다...
해서 이렇게 질문 올리는데요 첨부파일에 보시면
그누보드 4 기본템플릿은? 크게 head index tail 부분으로 나눠져있는걸로 알고있습니다.
코드를 포함한 sub은 제외//
무튼 인덱스부분에 table명 111이라 생성한 게시판의 1번글을 list.skin을거치지않고
view상태로 index부분에 삽입하고 싶을때
방법좀 부탁드립니다 진짜 못찾겠네요 아니면 팁이라도 부탁드립니다 꾸뻑(__)(--)
설명이 잘못된듯하여 수정해봅니다...
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_id = '268820' and wr_id != '2008' ) union ( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '268803' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php
