Menu
Hello,
I need a way to change keys in an array. For example if the key of a certain element is “0” I need it to be “look”. Now, I know there is array_flip. But I do not think it will work for a multidimensional array, as I only want to change the keys on the 2nd dimension.
I was wondering if foreach would work for this, as it can use $keys. However when I tried to do it, it didn’t work. At least it did not save they $keys onto array.
There is a certain site that talks about it. However if asks you to pay.
[url]http://ibmdw.safaribooksonline.com/0672327090/ch04lev1sec6
Any help would be appreciated.?
Thank You
CMCDragonkai