Php Array removing duplication and string conversion
hi i have output of an array as follow:
Array (
[0] => 66, 65, 64
[1] => 57
[2] => 66,23
[3] => 66
)
How can i remove duplication values and convert the collection into comma
separated string? The unique output is 66,65,64,57,23. Thanks
No comments:
Post a Comment