I have an array with in which there is another array. I need to unset a index of the sub array.
array
0 =>
array
'country_id' => string '1' (length=1)
'description' => string 'test' (length=4)
1 =>
array
'country_id' => string '2' (length=1)
'description' => string 'sel' (length=5)
2 =>
array
'country_id' => string '3' (length=1)
'description' => string 'soul' (length=5)
Now i need to unset country_id
of all the three index of the master array. I am using PHP and I initially thought unset will do until i realized my array is nested.
How can I do this?