日期:2014-05-17 浏览次数:20485 次
$totleArr=array();
$totleArr = array_merge(array_fill(0, 20, "ipad mini"), array_fill(0, 50, "无线电压力锅"), array_fill(0, 80, "撒旦撒旦"), array_fill(0, 9850, "未中奖"));
$totleArr = array();
while($row=mysql_fetch_array($rs))
{
$totleArr = array_merge(array_fill(0, $row['rate'], $row['name']));
}