¹«·áÅäÁ¤ºñ°á
¾È³çÇϼ¼¿ä. Àΰ£ÀÇ ¹Ì·¡ÀÇ ¿î¸í°ú ±æÈäȺ¹À» »ìÇÇ´Â
¹«·áÅäÁ¤ºñ°á¹æ¹®ÇØÁּż °¨»çÇÕ´Ï´Ù.
¹«·áÅäÁ¤ºñ°á¿î¼¼Ç®ÀÌ »çÁÖ»ó´ã ±ÃÇÕ ¿À´ÃÀÇ¿î¼¼ ¶ìº°¿î¼¼ µî »çÁÖÆÈÀÚ Æ¯Â¡À» Áß½ÉÀ¸·Î »ìÆ캸´Â ¿î¼¼ÀÇ º¹°ú Çà¿îÀ» ÂüÁ¶Çϼ¼¿ä.
$db_sno = @mysql_query("select count(*) from db_data ");
$r_counter = @mysql_result($db_sno,0);
$re = ( $total % $r_counter ) + 1;
$result = @mysql_query("select content from db_data where name='$re' ");
$R_db_data = @mysql_result($result,0);
<?=$R_db_data?>
|
|