<? $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>
이소스는 게시판에 글을 작성한사람을 보여주고 클릭시 검색되서 그사람글만 보이는 소스인데요
이것을 셀렉트로 바꾸는법 좀 알려주세요
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>
<? 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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 284438 | |
| 284437 | |
| 284435 | |
| 284430 | |
| 284420 | |
| 284417 | |
| 284409 | |
| 284401 | |
| 284399 | |
| 284397 | |
| 284380 | |
| 284378 | |
| 284371 | |
| 284370 | |
| 284366 | |
| 284364 | |
| 284360 | |
| 284357 | |
| 284355 | |
| 284354 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기