검색 조건에 라디오 버튼 추가[답변좀..ㅠㅠ]
본문
</td>
이리저리 찾아도 잘안되네요
<fieldset id="bo_sch">
</fieldset>
<form name="fsearch" method="get">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
<input type="hidden" name="sop" value="and">
<table>
<tbody>
<tr>
<th scope="col">키워드 검색</th>
<td><select name="sfl" id="sfl">
<option value="wr_subject"<?php echo get_selected($sfl, 'wr_subject', true); ?>>업체명</option>
<option value="wr_content"<?php echo get_selected($sfl, 'wr_content'); ?>>문의내용</option>
<option value="wr_subject||wr_content"<?php echo get_selected($sfl, 'wr_subject||wr_content'); ?>>업체명+문의내용</option>
<option value="wr_name,1"<?php echo get_selected($sfl, 'wr_name,1'); ?>>고객명</option>
<option value="wr_name,0"<?php echo get_selected($sfl, 'wr_name,0'); ?>>고객명(코)</option>
</select><input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" required id="stx" class="frm_input required" size="15" maxlength="15"></td>
</tr>
<tr>
<th scope="col">처리상태</th>
<td> <input type="radio" name="sfl" id="sfl"value="신규접수" <?php if($_GET['sfl'] == "wr_8") echo "checked"; ?>>
<label class="radio_t">신규접수</label>
<input type="radio" name="sfl" value="처리중" <?php if($_GET['sfl'] == "wr_8") echo "checked"; ?>>
<label class="radio_t">처리중</label>
<input type="radio" name="sfl" value="처리보류" <?php if($_GET['sfl'] == "wr_8") echo "checked"; ?>>
<label class="radio_t">처리보류</label>
<input type="radio" name="sfl" value="처리완료" <?php if($_GET['sfl'] == "wr_8") echo "checked"; ?>>
<label class="radio_t">처리완료</label>
</td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="검색" class="btn_submit"></td>
</tr>
</table>
</form>
</fieldset>
------------------------------------------------
검색 하는곳 값
<td class="td_sel">
</td>
<option style="color:#F00" value="신규접수"<?php if($list[$i]['wr_8']=="신규접수") echo "selected"; ?> >신규접수</option>
<option style="color:#0C3;" value="처리중" <?php if($list[$i]['wr_8']=="처리중") echo "selected"; ?>>처리중</option>
<option style="color:#999;" value="처리보류" <?php if($list[$i]['wr_8']=="처리보류") echo "selected"; ?>>처리보류</option>
<option style="color:#099;" value="처리완료" <?php if($list[$i]['wr_8']=="처리완료") echo "selected"; ?>>처리완료</option>
</select>
</td>
답변 3
<select name="sfl" id="sfl">
<option style="color:#F00" value="신규접수"<?php if($list[$i]['wr_8']=="신규접수") echo "selected"; ?> >신규접수</option>
<option style="color:#0C3;" value="처리중" <?php if($list[$i]['wr_8']=="처리중") echo "selected"; ?>>처리중</option>
<option style="color:#999;" value="처리보류" <?php if($list[$i]['wr_8']=="처리보류") echo "selected"; ?>>처리보류</option>
<option style="color:#099;" value="처리완료" <?php if($list[$i]['wr_8']=="처리완료") echo "selected"; ?>>처리완료</option>
</select>
위 셀렉트 뒤에 아래 붙여 넣어 보십시요.
.....
</select>
<input type='radio' name='name이름' value="value값1">value값1
<input type='radio' name='name'이름 value="value값2">value값2
<input type='radio' name='name'이름 value="value값3">value값3
검색 조건에 라디오 버튼 추가 아닌지요?
셀렉트를 라디오로 바꾼다는 말씀인지요?