Is there a php code that can move a multidimensional array minimum of 5 iterations if the values has a duplicate?
This is an example code.
array_chunk solve my issue.
';
$array[] = $chunks[$y][$x];
}
}
print_r($array);
?>
Anyway, my next problem is if I have two rows in an array. Like the example below.
1, 'value2' => 2),
array('value' => 3, 'value2' => 1)
);
?>
How can I check both sides (value and value2) for duplicates and used my existing code?