0
如何通過ssup asc排序該數組?排序關聯數組
[xml] => Array
(
[sale] => Array
(
[0] => Array
(
[ref] => 316205
[line] => 3
[partno] => MC41SS
[cust] =>
[date] => 28/ 6/10
[value] =>
[balance] =>
[ssup] => CDA
[stdesc] => CDA Built in/Freestanding M/Wave Grill/Convection Oven
[sdelinfo] =>
)
[1] => Array
(
[ref] => 316657
[line] => 1
[partno] => SRS45E48GB
[cust] =>
[date] => 7/ 7/10
[value] =>
[balance] =>
[ssup] => Bosch
[stdesc] => Bosch S/L 4 Prog Express Wash 49db Dishwasher Silver
[sdelinfo] =>
)
[2] => Array
(
[ref] => 316791
[line] => 1
[partno] => T44T90N0
[cust] =>
[date] => 9/ 7/10
[value] =>
[balance] =>
[ssup] => Neff
[stdesc] => Neff 90cm Front Control Point & Twist Hob St/St
[sdelinfo] =>
)
這是一個在關聯數組中的關聯數組中的索引數組,我認爲您正在尋找對索引數組進行排序。 – BoltClock 2010-07-19 01:38:04
我需要他們排序,以便ssup按字母順序 – 2010-07-19 01:39:28