useful function to sort an array randomly */ function sort_array_rand($array) { $result = array(); $y = sizeof($array); $x = 0; while ($x < pow($y, 2)) { $result[] = $array[array_rand($array)]; $x++; } return array_unique($result); } Tmy Adeson 08-Jan-2015 ...