Hallo zusammen,
hier meine kleine Buchliste als Array
Array
(
[buchliste] => buchliste Object
(
[total] => 3
[items] => Array
(
[0] => 0001
[1] => 0002
[2] => 0003
)
[itemname] => Array
(
[0001] => Buch 2
[0002] => Buch 3
[0003] => Buch 1
)
[itemprice] => Array
(
[0001] => 3.99
[0002] => 2.59
[0003] => 7.59
)
)
Die Ausgabe mit PHP:
$items = array();
foreach($this->items as $tmp_item)
{ ... return $items; }
Ich will das Array sortiern lassen:
nach itemprice (Preis aufstegend)
Mit dieser Sortierung benötige ich Hilfe.
Grüße Guma