I have a some data stored in $data[], there are some items in it. How do I remove duplicate values in a foreach?
Array
(
[0] => ABC
)
Array
(
[0] => XZY
)
Array
(
[0] => ABC
)
i have use some function array unique and convert it to json ... and not work