niche Posted May 14, 2012 Share Posted May 14, 2012 (edited) is there a function to delete dupes in a comma delimited string? If so, what is it please? if not, is an implode/explode with an array_unique() as good a way as any? Edited May 14, 2012 by niche Link to comment Share on other sites More sharing options...
Ingolme Posted May 14, 2012 Share Posted May 14, 2012 Anything that needs to be a comma-separated list is probably better off as an array. And therefore, explode() and array_unique() is probably the best way. Link to comment Share on other sites More sharing options...
niche Posted May 14, 2012 Author Share Posted May 14, 2012 Thanks Ingolme. Your help is always appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now