Posted by Hendri Kurniawan on 02/25/07 21:04
array_multisort (http://au3.php.net/manual/en/function.array-multisort.php)
Hendri Kurniawan
millw0rm@gmail.com wrote:
> i got 2 array one holds the actual data n another is user generated
> sort order... how to sort array #1 according to array #2???? array
> shld be sorted according to sortorder
>
> Array #1
> (
> [0] => Array
> (
> [id] => 1
> [sortorder] => 2
> [name] => Windows XP
> )
>
> )
>
>
> Array #2
> (
> [0] => Array
> (
> [sortorder] => 2
> )
> )
>
[Back to original message]
|