검색을 수정하려고 하는데,
$sca, $sfl, $stx 이 세가지가 어떤거고, 어떤 역할을 하는지 모르겠습니다....
설명 부탁드리겠습니다 ㅠㅠ
아래는 list.sort.skin.php 중 일부분입니다
Copy
<fieldset id="bo_sch"> <legend>게시물 검색</legend> <form name="fsearch" method="get"> <input type="hidden" name="ca_id" value="<?php echo $bo_table ?>"> <input type="hidden" name="sca" value="<?php echo $sca ?>"> <input type="hidden" name="sop" value="and"> <label for="sfl" class="sound_only">검색대상</label> <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="mb_id,1"<?php echo get_selected($sfl, 'mb_id,1'); ?>>회원아이디</option> <option value="mb_id,0"<?php echo get_selected($sfl, 'mb_id,0'); ?>>회원아이디(코)</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> <label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label> <input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" required id="stx" class="frm_input required" size="15" maxlength="20"> <input type="submit" value="검색" class="btn_submit"> </form></fieldset>
답변 1개 / 댓글 1개
채택된 답변
+20 포인트
ysnet
9년 전
sca 카테고리
sfl 검색할 필드명
stx 검색어
답변에 대한 댓글 1개
9년 전
답변을 작성하려면 로그인이 필요합니다.
어떤식으로 등록이 되어있는지 알고 싶어요 ㅠㅠ