You could use array_rand() to take stuff out of the array at random and then
stuff it all back into another array.

-Mike



> -----Original Message-----
> From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 10:22 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] random array sort
>
>
> Could someone show me a quick and simple way to randomly sort array
> elements?  I can't seem to pinpoint the correct parameters in the docs.
>
> Thanks!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to