I have an array in the below format.
array (
0 =>
array (
'safe_route' => 'yes',
'route_name' => 'route_1',
'route_risk_score' => '2.5'),
1 =>
array (
'safe_route' => 'no',
'route_name' => 'route_2',
'route_risk_score' => '3.5'),
2 =>
array (
'safe_route' => 'no',
'route_name' => 'route_3',
'route_risk_score' => '4.5')
)
i need to loop it and remove the key 'route_risk_score' with its value inside all arrays. How this can be done in php. Am new to php.Help would be appreciated