테스트 사이트 - 개발 중인 베타 버전입니다

게시판 검색부분 질문드립니다. 채택완료

리스트 하단에 있는 검색박스...

</p>

<p> <fieldset id="bo_sch">

        <legend>게시물 검색</legend></p>

<p>        <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">

        <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="sch_input" size="25" maxlength="20" placeholder="검색어를 입력해주세요">

        <button type="submit" value="검색" class="sch_btn"><i class="fa fa-search" aria-hidden="true"></i><span class="sound_only">검색</span></button>

        </form>

    </fieldset></p>

<p>

이 부분을 리스트 상단부분으로 옮겨 붙이니까

'undefined 할 게시물을 선택하세요' 라고 에러창이 뜹니다....

 

이 부분은 옮기면 안되는 걸까요???

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트

상단의 form 안에 넣으신 것 같네요.

form 바깥(위)으로 옮겨주시길 바랍니다.

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

그렇군요.... ㅜ.ㅜ
정말 감사합니다.... 즐거운 주말 되세요~~

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인

전체 질문 목록

🐛 버그신고