PHP: <?phpecho "<font style=font-size:9px color=#000000 face=verdana><b>Netsa</b>,The Lucky Number Of Today:";for ($n=1;$n<=1;$n++) {$string=""; //初始化字符串for ($i=1;$i<=7;$i++) {mt_srand((double)microtime()*77777777); $random=mt_rand(0,9); //产生0-9间的随机数$string=$string.",".$random;echo " <font style=font-size:9px color=#900009 face=verdana><b>",$random,"</b></font>";}echo " , ";}echo " <font style=font-size:9px color=#000000 face=verdana>Good Luck to you...</font><br><br>";?> 程序演示地址:http://ns.3-eye.net/pub/7.php