Answer the question
In order to leave comments, you need to log in
How to split and rebuild an array?
There is an array. It can be more or less
Array
(
[0] => Array
(
[0] => Array
(
[text] => Индия
[callback_data] => orderNumber India
)
)
[1] => Array
(
[0] => Array
(
[text] => Китай
[callback_data] => orderNumber cn
)
)
[2] => Array
(
[0] => Array
(
[text] => Англия
[callback_data] => orderNumber UK
)
)
[3] => Array
(
[0] => Array
(
[text] => Казахстан
[callback_data] => orderNumber KZ
)
)
[4] => Array
(
[0] => Array
(
[text] => Вьетнам
[callback_data] => orderNumber vietnam
)
)
)
Array
(
[0] => Array
(
[0] => Array
(
[text] => Индия
[callback_data] => orderNumber India
)
[1] => Array
(
[text] => Китай
[callback_data] => orderNumber cn
)
[2] => Array
(
[text] => Англия
[callback_data] => orderNumber UK
)
)
[1] => Array
(
[0] => Array
(
[text] => Казахстан
[callback_data] => orderNumber KZ
)
[1] => Array
(
[text] => Вьетнам
[callback_data] => orderNumber vietnam
)
)
)
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