i have this array and i don't want to remove duplicated values.. i want to check if there are duplicates in the first value or not
( [0] => 1500,[0] => 1111, [0] => 1500)
if there are then return true else return false how to do this ?
Array
(
[0] => Array
(
[0] => 1500
[1] => first
[2] =>
[3] =>
[4] => 50
[5] =>
[6] =>
)
[1] => Array
(
[0] => 1111
[1] => second
[2] =>
[3] =>
[4] => 10
[5] =>
[6] =>
)
[2] => Array
(
[0] => 1500
[1] => third
[2] =>
[3] =>
[4] => 100
[5] =>
[6] =>
)
)
[0]"?