我有问题。 我想总结一下特定数量(qty
)。
我想得到:
blyszczaca Normal = 6;
czapkoszal Normal = 6;
czapkoszal Luxury = 2;
etola Wolf = 1;
etola Normal = 2;
本阵列:
Array
(
[0] => Array
(
[produkt] => blyszczaca
[model] => Normal
[price] => 27.00
[qty] => 2
)
[1] => Array
(
[0] => blyszczaca
[1] => Normal
[2] => 27.00
[3] => 2
)
[2] => Array
(
[0] => blyszczaca
[1] => Normal
[2] => 27.00
[3] => 2
)
[3] => Array
(
[0] => czapkoszal
[1] => Normal
[2] => 41.00
[3] => 2
)
[4] => Array
(
[0] => czapkoszal
[1] => Luxury
[2] => 45.00
[3] => 2
)
[5] => Array
(
[0] => czapkoszal
[1] => Normal
[2] => 41.00
[3] => 2
)
[6] => Array
(
[0] => czapkoszal
[1] => Normal
[2] => 41.00
[3] => 1
)
[7] => Array
(
[0] => czapkoszal
[1] => Normal
[2] => 41.00
[3] => 1
)
[8] => Array
(
[0] => etola
[1] => Wolf
[2] => 47.00
[3] => 1
)
[9] => Array
(
[0] => etola
[1] => Normal
[2] => 39.00
[3] => 1
)
[10] => Array
(
[0] => etola
[1] => Normal
[2] => 39.00
[3] => 1
)
)