게시물안에 다른 게시판의 최신글을 보이게끔 하려면... 정보
게시물안에 다른 게시판의 최신글을 보이게끔 하려면...본문
메인페이지나 그런데선 <?=latest('basic', "xxxx", 5,70) ?> 이런 명령어가 잘먹히는데
게시판 글쓰기에선 <?=latest('basic', "xxxx", 5,70) ?> 이걸 쓰면 이것만 싹 지어지고 최신글을 붙일수가 없더라고요.
게시판 내용에 최신글을 나오게끔 하는 방법이 있는지 알고싶습니다.
게시판 글쓰기에선 <?=latest('basic', "xxxx", 5,70) ?> 이걸 쓰면 이것만 싹 지어지고 최신글을 붙일수가 없더라고요.
게시판 내용에 최신글을 나오게끔 하는 방법이 있는지 알고싶습니다.
( 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 = '270490' 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