
Hallo,
ich hab so ein Array:
Array
(
[0] => Array
(
[0] => athlete
[1] => new
[2] => w
)
[1] => Array
(
[0] => athlete
[1] => print
[2] => w
)
[2] => Array
(
[0] => test
[1] => new
[2] => w
)
[3] => Array
(
[0] => test
[1] => print
[2] => w
)
)
möchte es aber so umgestellt haben:
Array
(
[athlete] => Array
(
[new] => w
[print] => w
)
[test] => Array
(
[new] => w
[print] => w
)
)
Die Lösung muss allerdings unabhänging vom Inhalt sein!!!!
Danke schon mal
Code: In Zwischenablage kopieren (nur IE)