You are here: Sorting an array « All PHP « IT news, forums, messages
Sorting an array

Posted by Kate on 05/25/05 10:18

I have an array with some product codes that I would like to sort by
currency. The product codes look like these:
11USD, 11CAD, 11EUR, 119USD, 201EUR, 70CAD

I figured that I could just sort it by the last character, but I can't find
a sort function that does that (or maybe I just don't understand the sorting
functions available).

 

Navigation:

[Reply to this 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

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