时间:2021-07-01 10:21:17 帮助过:14人阅读
$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']));
}