我有一个像
Array
(
[1] => Array
(
[A] => Name
[B] => Email
[C] => Phone
[D] => Bank Name
[E] => Cheque Number
[F] => Cheque Date
[G] => Amount
[H] => Due On
)
[2] => Array
(
[A] => Sri
[B] => srimanta123@gmail.com
[C] => 312313131
[D] => SBI
[E] => 32324234
[F] => 9/19/13 19:00
[G] => 121
[H] => 7/12/13 15:00
)
)
现在,我想将上面的数组转换为
Array
(
[1] => Array
(
[A] => Sri
[B] => srimanta123@gmail.com
[C] => 312313131
[D] => SBI
[E] => 32324234
[F] => 9/19/13 19:00
[G] => 121
[H] => 7/12/13 15:00
)
)
通过使用 php。
我正在尝试使用array_shift()
. 但是通过array_shift,我没有得到确切的输出。通过使用它,我得到以下输出:
Array
(
[A] => Name
[B] => Email
[C] => Phone
[D] => Bank Name
[E] => Cheque Number
[F] => Cheque Date
[G] => Amount
[H] => Due On
)
请让我知道该怎么做。