我的 PHP 代码有以下响应。
Array
(
[customer] => 402
[carat] => Array
(
[0] => 6
[1] => 5
)
[units] => Array
(
[0] => grams
[1] => dwt
[2] => dwt
)
[weight] => Array
(
[0] => 5
[1] => 3
[2] => 6
)
[our_payout] => Array
(
[0] => 15
[1] => 9
[2] => 60
)
[sale_payout] => Array
(
[0] => 18
[1] => 12
[2] => 180
)
[hidden_carat] => Array
(
[0] => 6
[1] => 5
[2] =>
)
[hidden_unit] => Array
(
[0] => 1
[1] => 2
[2] => 2
)
[carat_scale_price] => Array
(
[0] =>
[1] =>
[2] =>
)
[sales_id] => Array
(
[0] =>
[1] =>
[2] =>
)
[currency_rate_id] => Array
(
[0] =>
[1] =>
[2] =>
)
[gold_price_id] => Array
(
[0] =>
[1] =>
[2] =>
)
[taget_percentage] =>
[reference] => 0
[notes] =>
[unit] => 0
[customer_id] => 402
[total_items] => 2
[submit] =>
)
我想加入example [0] => grams
等等[0] => 5 [0] => 16
。我怎样才能做到这一点?