Jump to content

lynxjava

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Everything posted by lynxjava

  1. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.