i've got a multidimensional array. After inserting and removing some things i got it mixed up somehow. It looks like that: (Notice that the second dimension is 0,2,1,3) I need the first two sets of information inside the first two arrays (0 and 1). To make it a bit more clear:
What i got is:
And what i need is:
How do i get back the regular order (0,1,2,3) of the array?
Any help is greatly appreciated. Thanks in advance,
Daniel Purucker
What i got is:
Code:
Array
(
[0] => Array
(
[b][0][/b] => Array
(
[0] =>
[1] => Projekt-Nummer
[2] => ist gleich
[3] => 23
)
[b][2][/b] => Array
(
[0] => UND
[1] => Angelegt durch
[2] => ist gleich
[3] => dpu
)
[b][1][/b] => Array
(
)
[b][3][/b] => Array
(
[0] => 0
[1] => 0
[2] => 0
[3] =>
)
)
)
And what i need is:
Code:
Array
(
[0] => Array
(
[b][0][/b] => Array
(
[0] =>
[1] => Projekt-Nummer
[2] => ist gleich
[3] => 23
)
[b][1][/b] => Array
(
[0] => UND
[1] => Angelegt durch
[2] => ist gleich
[3] => dpu
)
)
)
How do i get back the regular order (0,1,2,3) of the array?
Any help is greatly appreciated. Thanks in advance,
Daniel Purucker