Reply to Newbie Question: Why Isn't arsort Sorting?

Your name:

Reply:


Posted by Vik Rubenfeld on 09/27/07 02:09

Here's the array I'm trying to sort:

$Differences = Array[3]
Brass = (double) 601.88
Iron = (double) 376.18
Steel = (double) 526.65

Here's the code:

arsort($Differences, SORT_NUMERIC);

It seems as though arsort isn't sorting - the array is in the exact same
order, after arsort runs, as it was before. What am I missing?

Thanks very much in advance to all for any info.

[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

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