Re: help in reversing an array

From: Date: Sat, 25 Dec 2004 21:47:06 +0000
Subject: Re: help in reversing an array
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-205171@lists.php.net to get a copy of this message
Mike wrote:
I am having some trouble reversing the order of an array.
[snip]
Which function amongst the available should I use?
rsort() is what you're looking for. http://us2.php.net/manual/en/function.rsort.php -M what's wrong with array_reverse()?
http://www.php.net/manual/en/function.array-reverse.php

« previous php.general (#205171) next »