How do we sort an array of names taken from a text file, displaying only unique names?
Use the function array_unique(). This will sort and remove the duplicates.
Answered by: Jayesh Wadhwani
www.phptouch.com
Comments on this Question/Answer
How do we sort an array of names taken from a text file, displaying only unique names?By: gopi, 30 Dec 2008 10:58:16
Reply to comments / post your own comment >>>
ASK A QUESTION
More arrays PHP Questions
How do I find out if a value is already in an array?How can I mix up the order of values in an array?
How do I sort the members of an array by value?
How do I remove and view the last element of an array?
How do I return all the values in an array?
