여분필드로 입력받은 값별로 정렬할려면 어떻게해야하나요? 정보
여분필드로 입력받은 값별로 정렬할려면 어떻게해야하나요?
본문
<option value=""> 선택하세요.(필수)</option>
<option <?if($wr_2_1=='01')echo "selected";?> value='01'>
test1 </option>
<option <?if($wr_2_1=='02')echo "selected";?> value='02'>
test2 </option>
<option <?if($wr_2_1=='03')echo "selected";?> value='03'>
test3 </option>
<option <?if($wr_2_1=='04')echo "selected";?> value='04'>
test4 </option>
<option <?if($wr_2_1=='05')echo "selected";?> value='05'>
test5 </option>
<option <?if($wr_2_1=='06')echo "selected";?> value='06'>
test6 </option>
<option <?if($wr_2_1=='07')echo "selected";?> value='07'>
test7 </option>
<option <?if($wr_2_1=='08')echo "selected";?> value='08'>
test8 </option>
<option <?if($wr_2_1=='09')echo "selected";?> value='09'>
test9 </option>
</select></td>
입력받은 값별로 링크를 걸어야하는데...
/bbs/board.php?bo_table=test&wr_2_1=='09'
이건 아닌거 같고...어떻게해야할까요?
<option <?if($wr_2_1=='01')echo "selected";?> value='01'>
test1 </option>
<option <?if($wr_2_1=='02')echo "selected";?> value='02'>
test2 </option>
<option <?if($wr_2_1=='03')echo "selected";?> value='03'>
test3 </option>
<option <?if($wr_2_1=='04')echo "selected";?> value='04'>
test4 </option>
<option <?if($wr_2_1=='05')echo "selected";?> value='05'>
test5 </option>
<option <?if($wr_2_1=='06')echo "selected";?> value='06'>
test6 </option>
<option <?if($wr_2_1=='07')echo "selected";?> value='07'>
test7 </option>
<option <?if($wr_2_1=='08')echo "selected";?> value='08'>
test8 </option>
<option <?if($wr_2_1=='09')echo "selected";?> value='09'>
test9 </option>
</select></td>
입력받은 값별로 링크를 걸어야하는데...
/bbs/board.php?bo_table=test&wr_2_1=='09'
이건 아닌거 같고...어떻게해야할까요?
댓글 전체
여분 필드를 어떻게 쪼개신 건가요?
다음을 참고하세요.
http://sir.co.kr/bbs/board.php?bo_table=g4_qa&sop=and&sst=wr_last&sod=desc&sfl=&stx=&page=1
http://sir.co.kr/bbs/board.php
?bo_table=g4_qa
&sop=and
&sst=wr_last 기준 필드
&sod=desc 내림차순
&sfl=&stx=&page=1
다음을 참고하세요.
http://sir.co.kr/bbs/board.php?bo_table=g4_qa&sop=and&sst=wr_last&sod=desc&sfl=&stx=&page=1
http://sir.co.kr/bbs/board.php
?bo_table=g4_qa
&sop=and
&sst=wr_last 기준 필드
&sod=desc 내림차순
&sfl=&stx=&page=1
흑 모르겠네요...ㅜㅜ
아..해결했습니다.
&sca=&sfl=wr_2&stx=3
&sca=&sfl=wr_2&stx=3