cooldude832 Posted March 27, 2008 Share Posted March 27, 2008 I have an array Array ( [0] => Array ( [sql_id] => 48 [word] => lesbians [word_count] => 27 ) [1] => Array ( [sql_id] => 22 [word] => flexible [word_count] => 50 ) [2] => Array ( [sql_id] => 12 [word] => naked [word_count] => 73 ) [3] => Array ( [sql_id] => 28 [word] => fight [word_count] => 14 ) [4] => Array ( [sql_id] => 822 [word] => horse [word_count] => 3 ) [5] => Array ( [sql_id] => 21 [word] => sex [word_count] => 311 ) called $data and I want to sort it by the word_count forgot how Link to comment https://forums.phpfreaks.com/topic/98081-array-sort-forgot/ Share on other sites More sharing options...
darkfreaks Posted March 27, 2008 Share Posted March 27, 2008 maybe use array_sort ??? Link to comment https://forums.phpfreaks.com/topic/98081-array-sort-forgot/#findComment-501820 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.