php shuffle()函數的使用。

<?php $my_array = array("red","green","blue","yellow","purple"); shuffle($my_array); print_r($my_array); ?> 打印結果以下: Array ( [0] => red [1] => green [2] => yellow [3] => purple [4] => blue ) 對數組進行隨機順
相關文章
相關標籤/搜索