¾Æ·¡¼Ò½º´Â Á¦·Îº¸µå¿¡¼ »ç¿ëÇÏ¸é¼ Æ¯Á¤ °Ô½ÃÆÇ¿¡¼ ÀÓÀÇ·Î ±Û Á¦¸ñÀ» ÇÑ°³ ÃßÃâÇÏ¿© ÇØ´ç °Ô½Ã¹°À» ÀÐÀ»¼ö ÀÖµµ·Ï
¸µÅ©¸¦ °Å´Â ³»¿ëÀÔ´Ï´Ù. Á¦¸ñÀÌ ¼ö½ÊÀÚ°¡ µÇ´Â °æ¿ì¿¡ Å×À̺íÀÌ µÚƲ¾îÁö°Å³ª ÁٹٲÞÀÌ ÀϾ³×¿ä
Á¦¸ñ Ãâ·Â½Ã ±ÛÀÚ¼ö¸¦ ÁöÁ¤ÇÏ¿© Á¦ÇÑµÈ ±ÛÀÚ¼ö°¡ ÃÊ°úÇÏÁö ¸øÇÏ´Â ¹ý ºÎŹµå¸³´Ï´Ù ^^
// ------------------------------------------------
<table width="155">
<tr>
<td align="right" width="150" nowrap><nobr>¢¹
<?
mysql_connect("localhost","¾ÆÀ̵ð","µðºñºñ¹ø");
mysql_select_db("µðºñ³×ÀÓ");
$zb_url = "Á¦·Îº¸µå°æ·Î";
$bbs_name="see"; // see´Â °Ô½ÃÆǾÆÀ̵ð
// µ¥ÀÌÅ͸¦ ºÒ·¯¿È
$result=mysql_query("SELECT * FROM zetyx_board_".$bbs_name." ORDER BY rand() LIMIT 1");
// Ãâ·Â
while($data=mysql_fetch_array($result)) {
$subject= $data[subject];
echo"<a href='".$zb_url."zboard.php?id=see&page=$href&no=$data[no]'>".$subject."</a>"; // see´Â °Ô½ÃÆÇ ¾ÆÀ̵ð
}
?>
</nobr></td>
</tr>
</table>
//---------------------------------------------