On Mon, Apr 23, 2001 at 08:57:21AM -0400, Scott Fletcher produced this golden nugget:
> I have used the PHP sort function --> sort().  When I use sort($data,
> NUMERIC), it sort the data by Numeric order.  But it goes in ascending
> order.  Is there a way to make it go in Descending order?

Use rsort()

(and if you looked at the manual, you would've found this yourself
instead of posting to the list ;-)

-- 
Andreas D. Landmark / noXtension
There is no time like the present for postponing what you ought to be
doing.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to