Hey guys,
I dont know what the big deal is.
The answer is really simple and you guys just missed out a line.
Just copy and paste this code and it would work fine.
I have highlighted in bold the missing line which should of been included.
function shuffle_assoc(&$array) {
$keys = array_rand($array, count($array));
shuffle($keys);
foreach($keys as $key)
$new[$key] = $array[$key];
$array = $new;
return true;
}I found the answer by looking up some coding on the php.net
Hope this solved your problems
