Answer the question
In order to leave comments, you need to log in
How to convert an array of this kind?
[blocks] => Array
(
[1] => Array
(
[0] => Array
(
[id] => 1
[position] => 1
)
)
[2] => Array
(
[0] => Array
(
[id] => 2
[position] => 2
)
[1] => Array
(
[id] => 3
[position] => 2
)
)
)
[blocks] => Array
(
[1] => Array
( [position] => 1
[0] => Array
(
[id] => 1
[position] => 1
)
)
[2] => Array
( [position] => 2
[0] => Array
(
[id] => 2
[position] => 2
)
[1] => Array
(
[id] => 3
[position] => 2
)
)
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question