Array Sorting issue--php

Reply

Join Date: Jul 2006
Posts: 197
Reputation: vssp has a little shameless behaviour in the past 
Solved Threads: 5
vssp vssp is offline Offline
Junior Poster

Array Sorting issue--php

 
0
  #1
Dec 28th, 2006
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
Thanks
VSSP
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 138
Reputation: php_daemon is an unknown quantity at this point 
Solved Threads: 2
php_daemon php_daemon is offline Offline
Junior Poster

Re: Array Sorting issue--php

 
0
  #2
Dec 28th, 2006
Check out array_multisort
Last edited by php_daemon; Dec 28th, 2006 at 7:48 pm.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC