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
Comments on this Question/AnswerHow 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 Questionswhen i fetch the record in the database but they skip first record in the database
what are php array functions?
How can I reverse sort an array keeping the correlation between the index and value?
How can I easily view all members of an array?
when we retrieve values from db and show in drop-down list then how can i get selected particular value from drop-down so that programe will go next page??