(to tylko część, całej raczej nie trzeba)
Kod
Array
(
[amulet] => Array
(
[Amulet of Loss] => Array
(
[npc] => Eremo
[price] => 4.5
)
[Platinium Amulet] => Array
(
[npc] => Rashid
[price] => 0.25
)
)
[armor] => Array
(
[Crown Armor] => Array
(
[npc] => Nahbob
[price] => 1.2
)
[Dragon Scale Mail] => Array
(
[npc] => Rashid
[price] => 4
)
[Golden Armor] => Array
(
[npc] => Rashid
[price] => 2
)
[Knight Armor] => Array
(
[npc] => Alesar
[price] => 0.5
)
)
(
[amulet] => Array
(
[Amulet of Loss] => Array
(
[npc] => Eremo
[price] => 4.5
)
[Platinium Amulet] => Array
(
[npc] => Rashid
[price] => 0.25
)
)
[armor] => Array
(
[Crown Armor] => Array
(
[npc] => Nahbob
[price] => 1.2
)
[Dragon Scale Mail] => Array
(
[npc] => Rashid
[price] => 4
)
[Golden Armor] => Array
(
[npc] => Rashid
[price] => 2
)
[Knight Armor] => Array
(
[npc] => Alesar
[price] => 0.5
)
)
Chciałbym posortować przykładowo tak: (malejąco po price)
Kod
Array
(
[amulet] => Array
(
[Amulet of Loss] => Array
(
[npc] => Eremo
[price] => 4.5
)
[Platinium Amulet] => Array
(
[npc] => Rashid
[price] => 0.25
)
)
(
[amulet] => Array
(
[Amulet of Loss] => Array
(
[npc] => Eremo
[price] => 4.5
)
[Platinium Amulet] => Array
(
[npc] => Rashid
[price] => 0.25
)
)
I tutaj moje pytanie, jak tego dokonać?