I have an array like
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
)
)
Now, I want to convert this above array to
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
)
)
by making use of php.
I am trying by using array_shift()
. But by array_shift, I am not getting the exact output. By using this, I got the following output:
Array
(
[A] => Name
[B] => Email
[C] => Phone
[D] => Bank Name
[E] => Cheque Number
[F] => Cheque Date
[G] => Amount
[H] => Due On
)
Please let me know how to do that.