셀렉트로 바꾸는법 좀 알려주세요

<? $list3 = sql_query("SELECT b.mb_id, b.mb_name,b.mb_nick, a.wr_id
FROM `$write_table` AS a
LEFT JOIN $g4[member_table] AS b ON a.mb_id = b.mb_id
GROUP BY b.mb_id");
?>
<table border=0 cellspacing=0 cellpading=0 width = 100%>
<tr>
<td>
<?php
while(($row1 = mysql_fetch_array($list3)) == true){
?>
<a href="<?=$g4['path'];?>/bbs/board.php?bo_table=<?= $write_table;?>&sfl=mb_id&sfx=<?= $row1['mb_id'];?>"><?= $row1['mb_nick'];?></a>
<?php } ?>
</td>
</tr>
</table>

이소스는 게시판에 글을 작성한사람을 보여주고 클릭시 검색되서 그사람글만 보이는 소스인데요
이것을 셀렉트로 바꾸는법 좀 알려주세요
|

댓글 1개

<select onChange="location='<?="$g4[bbs_path]/board.php?bo_table=$write_table&sfl=mb_id&stx="?>' + this.value;">
<? while ($row1 = mysql_fetch_array($list3)) { ?>
<option value="<?=$row1[mb_id]?>"<? if ($sfl == "mb_id" && $row1[mb_id] == $stx) echo " selected"; ?>>
<?=$row1[mb_nick]?></option>
<? } ?>
</select>
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
15년 전 조회 2,744
15년 전 조회 1,520
15년 전 조회 1,842
15년 전 조회 1,517
15년 전 조회 1,540
15년 전 조회 1,617
15년 전 조회 1,514
15년 전 조회 1,577
15년 전 조회 1,802
15년 전 조회 1,521
15년 전 조회 1,657
15년 전 조회 2,125
15년 전 조회 3,368
15년 전 조회 1,569
15년 전 조회 2,922
15년 전 조회 1,959
15년 전 조회 1,530
15년 전 조회 1,530
15년 전 조회 2,485
15년 전 조회 1,738
🐛 버그신고