<? $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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기