검색 조건 라디오버튼 추가[... 답변이 없어요.ㅠㅠ 답변 꼭 해주세요.ㅠㅠㅠ]

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
검색 조건 라디오버튼 추가[... 답변이 없어요.ㅠㅠ 답변 꼭 해주세요.ㅠㅠㅠ]

QA

검색 조건 라디오버튼 추가[... 답변이 없어요.ㅠㅠ 답변 꼭 해주세요.ㅠㅠㅠ]

본문

<!-- 게시판 검색 시작 { -->
</fieldset>
    <legend>게시물 검색</legend>
    <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="18" maxlength="15"--></td>
    </tr>
    <tr>
     <th scope="col">처리상태</th>
        <td> <input type="radio"  name="wr_8" id="wr_8" value="신규접수" <?php if($_GET['wr_8'] == "신규접수") echo "checked"; ?> >
                 <label class="radio_t">신규접수</label>
           <input type="radio" name="wr_8" id="wr_8"  value="처리중" <?php if($_GET['wr_8'] == "처리중") echo "checked"; ?> >
                 <label class="radio_t">처리중</label>
           <input type="radio" name="wr_8" id="wr_8"  value="처리보류" <?php if($_GET['wr_8'] == "처리보류") echo "checked"; ?> >
                 <label class="radio_t">처리보류</label>
                 <input type="radio" name="wr_8" id="wr_8"  value="처리완료" <?php if($_GET['wr_8'] == "처리완료") echo "checked"; ?> >
                 <label class="radio_t">처리완료</label>
                 </td>
    </tr>
    <tr>
   
     <td style="width:500px; text-align:center; padding:5px 0px;" colspan="2"><input type="submit" value="검색" class="btn_submit"></td>
    </tr>
</table>
    </form>
</fieldset>​

------------------------------------------------

검색 하는곳 값

<select name="wr_8_<?=$list[$i]['wr_id']?>" id="sel">
            </select>   
          <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>    ​

 

아래 사진과 같이 업체명에 빈칸일때 신규접수또는 처리중라디오 눌러서 검색했을때 신규접수만 또는 처리중만 뜨게 하고

업체명 옆 input text 값넣고 신규 접수 클릭수 검색 누를때 신규접수 및 업체명이면서 input text값에 맞는 값을 나오게 하고 싶어요..

  

0db90f97dbb768f9b08abb436c715fa7_1420458961_2385.png 

이 질문에 댓글 쓰기 :

답변 1

제가 최근에 작업한 사이트에서 wr_n 값을 검색하기 위해 board.php를 수정했던 기억이 나네요...

확장변수의 값을 검색하려면 게시판 프로그램 자체를 조금 수정하셔야 될 것 같습니다.

답변을 작성하시기 전에 로그인 해주세요.
전체 8
QA 내용 검색
filter #java ×

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT