Re: sorting array problem

From: Date: Thu, 17 Apr 2003 07:30:54 +0000
Subject: Re: sorting array problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144465@lists.php.net to get a copy of this message
Your example doesn't really make sense, so its hard to tell what your problem is. One idea is to look at array_multisort() http://www.php.net/manual/en/function.array-multisort.php - this might be what you're after. "Merlin" <news.groups@web.de> wrote in message news:20030417072718.56718.qmail@pb1.pair.com... > Hi there, > > I have lots of arrays which contain despite other values a timestamp. > > Now I would like to sort those arrays after timestamp to print out the > arrays with the most resent result. > > e.g.: > > arrayreports[ID] arrayreports[timestamp] > arraypix[ID] arraypix[timestamp] > arraynewusers[ID] arraynewusers[timestamp] > > Now I would like to sort them to print out the changes in desc order. > > Has anybody an idea? I am stuck. > > Thanx, Merlin > > >

« previous php.general (#144465) next »