I have 2 array, the second array should contain the whole element in the first array, how to check this? Thanks you
For example array 1: Array ( [0] => Email [1] => 1_Name ) array 2: Array ( [0] => 1_Name [1] => ) In this case it is invalid , as array 2 do not have Email array 1: Array ( [0] => Email [1] => 1_Name ) array 2: Array ( [0] => 1_Name [1] => Address [2]=> Email ) In this case it is valid
source share