[PHP] similar to shuffle()

2001-02-01 Thread Jason Jacobs
Does anyone know of a function in version 3.0.7 that does the same thing to shuffle(), which was implemented in 3.0.8? I'm trying to run a banner script I found, and I guess we were 1 one-hundredth of a version off for this thing... Or, how painless is it to upgrade to the latest version? I'm

Re: [PHP] similar to shuffle()

2001-02-01 Thread Chana Black
I had the same problem... I wrote a function that does this: function scramble($array) { // scrambles the elements of a one dimentional array // written by cblack ([EMAIL PROTECTED]) // in php3 = 3.0.8, there's a function called shuffle that does this for