我需要将“ transaction_user_id”的值更改为递增的数字。如果数组具有键[transaction_user_id],则应将其赋值为1,以此类推。例如,如果数组具有[transaction_user_id],则[transaction_user_id] = 1,移至第二个[transaction_user_id] = 2。
Array
(
[0] => Array
(
[transaction_user_id] => 359691e27b23f8ef3f8e1c50315cd506
[transaction_no] => 19500912050218
[transaction_status] => cancelled
)
[1] => Array
(
[transaction_no] => 36010512050819
[transaction_status] => cancelled
)
[2] => Array
(
[transaction_user_id] => 9def02e6337b888d6dbe5617a172c18d
[transaction_no] => 19020512050820
[transaction_status] => cancelled
)
[3] => Array
(
[transaction_user_id] => 9def02e6337b888d6dbe5617a172c18d
[transaction_no] => 27050512050821
[transaction_total_amount] => 79.00
[transaction_date] => 1336476927
[transaction_status] => cancelled
)
)
慕桂英3389331
慕慕森
蛊毒传说