RE: [PHP] how to mix an array

From: Date: Sat, 23 Sep 2000 05:46:30 +0000
Subject: RE: [PHP] how to mix an array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18298@lists.php.net to get a copy of this message
You should check the section of the manual for array functions. Specifically shuffle(). > -----Original Message----- > From: Steven Glogger [mailto:list@glogger.ch] > Sent: Thursday, September 21, 2000 5:49 AM > To: php-general@lists.php.net > Subject: [PHP] how to mix an array > > > hi there > > is there a good way to mix randomly the content of an array. > let's say if you have a={1,2,3,4,5} --> a={3,4,1,5,2}? > > greetings > > steven > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#18298) next »