I have two arrays, the first is below:
Array
(
[0] => 21-02
[1] => 21-01
[2] => 21-03
[3] => 21-04
[4] => 21-05
[5] => 21-06
[6] => 21-07
[7] => 21-08
[8] => 21-09
)
I need to check what values don't exist in this second array:
Array
(
[0] => 21-01
[1] => 21-02
)
If they don't exist in the second array then I need to add them. How can I do that?