¾Æ·¡ÀÇ ¼Ò½º´ë·Î phpÆÄÀÏÀ» ¸¸µé¾î¼ Á¦ °èÁ¤¿¡ ¾÷·Îµå¸¦ Çߴµ¥¿ä.
¿¡·¯¸Þ½ÃÁö°¡ ³ª¿À³×¿ä.
style·Î µÇ¾îÀÖ´Â °Ô½ÃÆÇ À̸§Àº Á¦ °èÁ¤ÀÇ Á¦·Îº¸µåÀ̸§ÀÎ diatemp ·Î º¯°æÀ» Çß½À´Ï´Ù.
°Ô½ÃÆÇ °æ·ÎÀÎ bbs´Â Á¦ °èÁ¤¿¡¼´Â zboard ·Î µÇ¾îÀֱ⿡ zboard·Î ¹Ù²Ù¾ú±¸¿ä.
±Ùµ¥ ¾Æ·¡¿Í °°Àº ¿¡·¯ ¸Þ½ÃÁöµéÀÌ ¶ß³×¿ä. ¹«¾ùÀÌ ¹®Á¦ÀÌ°í ¾î¶»°Ô ¼öÁ¤ÇؾߵǴÂÁö..¤Ñ¤Ñ
Çѽð£À» µé¾î´Ùº¸¾Æµµ ¸ð¸£°Ú³×¿ä;; µµ¿ÍÁÖ¼¼¿ä~ ¤Ð¤Ð;
Warning: 'apache@localhost' »ç¿ëÀÚ´Â Á¢±ÙÀÌ °ÅºÎ µÇ¾ú½À´Ï´Ù. (Using password: ¾Æ´Ï¿À) in /home1/nightway/public_html/rand.php on line 2
Warning: MySQL Connection Failed: 'apache@localhost' »ç¿ëÀÚ´Â Á¢±ÙÀÌ °ÅºÎ µÇ¾ú½À´Ï´Ù. (Using password: ¾Æ´Ï¿À) in /home1/nightway/public_html/rand.php on line 2
Warning: MySQL: A link to the server could not be established in /home1/nightway/public_html/rand.php on line 2
Warning: Supplied argument is not a valid MySQL result resource in /home1/nightway/public_html/rand.php on line 2
Warning: rand(): Invalid range: 1..0 in /home1/nightway/public_html/rand.php on line 3
Warning: 'apache@localhost' »ç¿ëÀÚ´Â Á¢±ÙÀÌ °ÅºÎ µÇ¾ú½À´Ï´Ù. (Using password: ¾Æ´Ï¿À) in /home1/nightway/public_html/rand.php on line 4
Warning: MySQL Connection Failed: 'apache@localhost' »ç¿ëÀÚ´Â Á¢±ÙÀÌ °ÅºÎ µÇ¾ú½À´Ï´Ù. (Using password: ¾Æ´Ï¿À) in /home1/nightway/public_html/rand.php on line 4
Warning: MySQL: A link to the server could not be established in /home1/nightway/public_html/rand.php on line 4
Warning: Supplied argument is not a valid MySQL result resource in /home1/nightway/public_html/rand.php on line 5
----
<?php
$renum = mysql_result(mysql_query("SELECT COUNT(*) FROM zetyx_board_diatemp"),0);
$rand=rand(1,$renum);
$result=mysql_query("select * from zetyx_division_diatemp where headnum=-${rand} limit 1");
$sdata=mysql_fetch_array($result);
echo("<td width='250' height='151' align='center'><a href='../bbs/zboard.php?id=diatemp&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=$sdata[no]'><img src='$sdata[sitelink2]' alt='$sdata[subject]' width=250 height=151 border=0 alt='$sdata[subject]'></a></td>");
?>
|