Reply to Re: array sort

Your name:

Reply:


Posted by Kimmo Laine on 02/15/07 20:54

Richard kirjoitti:
> How to sort an array without replacing the indices? I have an array
> indexed by a timestamp and wish to sort based on that in numeric
> ascending order.
>
> thanks for any advice.

asort — Sort an array and maintain index association

Somewhere deep in the old caves of the web there's this mystical thing
called The Manual. It is said that those who approach The Manual seeking
the truth shall find the ancient myths of the Function Reference.

http://www.php.net

--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация