I am reading in a bunch of multi-dimensional arrays, and while digging through them I have noticed that some of the keys are incorrect.
For each incorrect key, I simply want to change it to zero:
from:
$array['bad_value']
to:
$array[0]
I want to retain the value of the array element, I just want to change what that individual key is. Suggestions appreciated.
Cheers