I've got these two arrays:
Array ONE
(
[39] => Dude, Harry [10%]
[36] => Occonell, Tim [90%]
)
Array TWO
(
[1] => Person, Admin
[2] => Snow, John
[3] => Jane, Marry
[14] => Kelchenko, Igory
[18] => Bery, Grass
[36] => Occonell, Tim
)
I'm trying to delete value from second array, if it's key is equal to first one. So my array should look like:
Array TWO
(
[1] => Person, Admin
[2] => Snow, John
[3] => Jane, Marry
[14] => Kelchenko, Igory
[18] => Bery, Grass
)
I have attempted to find an answer else where, but I could not find one.