리스트에서 카테고리의 분류를 선택할시 선택한 분류 출력 방법 질문입니다. 정보
리스트에서 카테고리의 분류를 선택할시 선택한 분류 출력 방법 질문입니다.본문
write.skin.php 카테고리(콤보)를 만들었고 view.skin.php 에서 출력했습니다.
그런데 list.skin.php에서 카테고리(콤보)를 만들려고 합니다.
질문답변 부분을 많이 참고 했으나, 답을 찾지 못해서 질문드립니다.
list.skin.php 에서 카테고리를 선택하면, 선택된 분류가 리스트에 나오게 하고 싶습니다.
그런데 list.skin.php에서 카테고리(콤보)를 만들려고 합니다.
질문답변 부분을 많이 참고 했으나, 답을 찾지 못해서 질문드립니다.
list.skin.php 에서 카테고리를 선택하면, 선택된 분류가 리스트에 나오게 하고 싶습니다.
( 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 = '281002' 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