리스트에 셀렉트 입력 내용이 안뿌려집니다 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

리스트에 셀렉트 입력 내용이 안뿌려집니다 정보

리스트에 셀렉트 입력 내용이 안뿌려집니다

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :

베이직스킨에 있는 셀렉트 버튼을 변형 해서

wrte.php에는

<td colspan=2 height=1 bgcolor=#dddddd></td></tr>
                    <tr>
<td class=write_head>진행단계</td>
                        <td><select name=ca_name itemname="의뢰분야">
                                <option>선택하세요<?=$category_option?></option>
                                <option>1단계 신규확인및결정완료</option>
                                <option>2단계 고객정보수집완료</option>
                                <option>3단계 접수완료</option>
                                <option>4단계 발급완료</option>
                                <option>5단계 교체문자전송완료</option>
                                <option>6단계 교체번호알림완료</option>
</select></td>

이렇게 만들엇고요

view.php

<td style="padding:8px 0 0 10px;">
            <div style="font-weight:bold; font-size:13px; color:rgb(80,80,80); word-break:break-all;">
            <? if ($is_category) { echo ($category_name ? "[$view[ca_name]] " : ""); } ?>
[<?=cut_hangul_last(get_text($view[ca_name]))?>]
            <?=cut_hangul_last(get_text($view[wr_subject]))?>
            </div>
        </td>

이렇게 했더니 제목옆에 출력은 됩니다. 짜집기로 한거라 ㅠㅠ 중복같기도 하고 그러네요

그런데 문제는

list.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 = '282205' 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