$arr = array(
0 => array(
0 => 'one',
1 => 'two',
2 => 'three'
),
1 => array(
0 => 'sun',
1 => 'mon',
2 => 'tues'
),
2 => array(
0 => 'jan',
1 => 'feb',
2 => 'march'
)
);
This is array, I want to result like this. An array has a sub-array and wants to change the value of subarray.
$arr = array(
0 => array(
0 => 'one',
1 => 'sun',
2 => 'jan'
),
1 => array(
0 => 'two',
1 => 'mon',
2 => 'feb'
),
2 => array(
0 => 'three',
1 => 'tues',
2 => 'march'
)
);
please provide me the solution. Thanks in advance!