You could use array_merge, but the problem with array_merge is that it joins the same keys together which you probably don't want. The above code will add elements from array2 to array1 and then do array_unique (adding elements of array2 to array1 can also be done differently).

post your array structure. Are there two arrays or only one? if there are several u have to merge them together and than do array_unique.
–
blejzzApr 1 '12 at 17:21

there seems to be 2 arrays: Array ( [0] => 2011/10/05 ) Array ( [0] => 2011/10/05 ) How do I merge it then, do array unique. It is a multidimensional array btw. I have looked at array merge, but it seems that only works if you have two arrays in 2 seperate variables
–
bobo2000Apr 1 '12 at 17:24