这样可以实现随机的比率,很强大

$rand=rand(1,10);

if($rand>8)

{

//.....;

 

}

posted @ 2010-12-02 00:36  →province★  阅读(187)  评论(0)    收藏  举报