I need a way to reorder my multidimensional arrays, is there any easy solution for this? I've been doing this with array_values for single arrays before, but it dosen't support multidimensional arrays.
My array looks likt this
Array
(
[2] => Array
(
[text] => test
)
[5] => Array
(
[text] => test
)
[8] => Array
(
[text] => test
)
)
I would like it to be
Array
(
[0] => Array
(
[text] => test
)
[1] => Array
(
[text] => test
)
[2] => Array
(
[text] => test
)
)