[Solved] Check if values are present in an array based on another array [duplicate]
[ad_1] As you showed no effort in solving your problem, make effort in understanding this): echo count($check[‘offer’]) == count(array_intersect($check[‘basket’], $check[‘offer’])) ? ‘All present’ : ‘Nope’; 1 [ad_2] solved Check if values are present in an array based on another array [duplicate]