944,057 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1336
  • PHP RSS
Dec 28th, 2006
0

Array Sorting issue--php

Expand Post »
Hai friends
I need to sort the array values.

Array value is
Array ( [160x600] => Array ( [0] => 21 [1] => 1 [2] => 0 [3] => 0 ) [300x250] => Array ( [0] => 32 [1] => 2 [2] => 0 [3] => 0 ) )


First I am using ksort to sort the array values.Now I neet to sort [0] => 21 and [0] => 32


How to sort Array in array ? Please send any suggestion

Thanks
__________________
Thanks
Vssp
Similar Threads
Reputation Points: 5
Solved Threads: 5
Junior Poster
vssp is offline Offline
197 posts
since Jul 2006
Dec 28th, 2006
0

Re: Array Sorting issue--php

Check out array_multisort
Last edited by php_daemon; Dec 28th, 2006 at 7:48 pm.
Reputation Points: 13
Solved Threads: 2
Junior Poster
php_daemon is offline Offline
138 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: submiting info into a database for retrieval!
Next Thread in PHP Forum Timeline: Php version upgrade issue





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC