if in array 2 dimensi value code example Example: php nested array contains in_array($search, array_column($array, 'name'))