下面是我的 PHP 数组:
[Paymentoption] => Array
(
[Paymentoption] => Array
(
[0] => Array
(
[0] => Array
(
[paymentoption_id] => 1
)
[1] => Array
(
[paymentoption_id] => 2
)
[2] => Array
(
[paymentoption_id] => 3
)
[3] => Array
(
[paymentoption_id] => 4
)
)
)
)
如何将其转换为喜欢:
[Paymentoption] => Array
(
[Paymentoption] => Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
)
)
提前致谢 !