특정스킨 리스트 성별... 정보
특정스킨 리스트 성별...본문
특정 스킨에서 글쓰기에 남자 여자를 구분해서 넣었는데요...
이걸 리스트에 뽑을때 여자는 빨간색 남자는 파란색으로 하고 싶은데...
어떻게 해야하나요?ㅠ.ㅠ
-----------------------------<write.skin.php>----------------------
<select class=ed name='wr_6' itemname='성별' required >
<option value="">선택
<option value="여자" <? if($write[wr_6]=="여자"){?>selected<?}?>>여자
<option value="남자" <? if($write[wr_6]=="남자"){?>selected<?}?>>남자</td>
</tr>
-----------------------------<view.skin.php>----------------------
<td class="name"><?=$list[$i][wr_6]?></td> <td class="name"><?=$list[$i][wr_6]?></td>
도와주시면 감사하겠습니다...
이걸 리스트에 뽑을때 여자는 빨간색 남자는 파란색으로 하고 싶은데...
어떻게 해야하나요?ㅠ.ㅠ
-----------------------------<write.skin.php>----------------------
<select class=ed name='wr_6' itemname='성별' required >
<option value="">선택
<option value="여자" <? if($write[wr_6]=="여자"){?>selected<?}?>>여자
<option value="남자" <? if($write[wr_6]=="남자"){?>selected<?}?>>남자</td>
</tr>
-----------------------------<view.skin.php>----------------------
<td class="name"><?=$list[$i][wr_6]?></td> <td class="name"><?=$list[$i][wr_6]?></td>
도와주시면 감사하겠습니다...
( 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 = '283379' 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