리스트에서 특정 카테고리 출력 시 간단한 텍스트가 나오게 할 수 있을까요? 정보
리스트에서 특정 카테고리 출력 시 간단한 텍스트가 나오게 할 수 있을까요?
본문
특정 카테고리 출력 시 해당 카테고리의 의미를 설명하는
문구정도의 간단한 텍스트를 카테고리 리스트 바로 아래에 출력하고자 합니다.
물론 다른 카테고리나 전체보기를 선택하면 그 텍스트는 다시 사라지는 식입니다.
고수님들의 도움 부탁드립니다.^^
오늘도 즐거운 하루가 되시길 바랍니다~!!
( 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 = '265500' 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 = '265455' 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