View Single Post
  #2 (permalink)  
Old September 5th, 2007, 03:24 PM
bluHatter bluHatter is offline
Authorized User
 
Join Date: Sep 2007
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there a reason why you're not simply using this?
Code:
sort( $arrayname );
This works in ascending order. rsort() for reverse.

http://www.php.net/manual/en/function.sort.php

Reply With Quote