|
Posted by Geoff Berrow on 06/20/07 07:34
Message-ID: <7ikh73p8vre66rj7tjhqkauovfku9jct4j@4ax.com> from comatose
contained the following:
>if I have an array of ten items how can I sort the first five items in
>the array without sorting the second five items?
Use a loop to copy first five to a temporary array, sort that array and
then replace into original using array_splice()
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|