in reply to Randomising an array

I recommend a look at the QandASection: arrays section of Categorized Questions and Answers:

Super Search is your friend:

... and so on.

HTH,

planetscape