RE: [PHP] random array sort
| From: | Mike At Spy | Date: | Tue, 10 Sep 2002 14:33:51 +0000 |
| Subject: | RE: [PHP] random array sort | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115853@lists.php.net to get a copy of this message | ||
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:RMCPEAK@jhuccp.org]
> Sent: Tuesday, September 10, 2002 10:22 AM
> To: php-general@lists.php.net
> 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
>
>