...

View Full Version : randomize array



timgolding
08-06-2007, 11:24 AM
its Monday morning and i have a bad head. I need to try and resort an array so it is completely jumbled. I need to randomly change the index of the array so that the array is in a completely different order. I can't think of the easiest way to achieve this, its too early lol

firepages
08-06-2007, 01:12 PM
http://au3.php.net/manual/en/function.shuffle.php

timgolding
08-06-2007, 01:17 PM
thx for that. knew it had to be in there somewhere



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum