how to remove duplicate value in array

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
arathi
Forum Newbie
Posts: 6
Joined: Fri Jul 20, 2007 1:40 am

how to remove duplicate value in array

Post by arathi »

Hi
Is there is any idea to remove duplicate values in an array.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Take a look at http://de2.php.net/manual/en/ref.array.php
There's a list of functions working on arrays. The short description of one of them is "Removes duplicate values from an array"
arathi
Forum Newbie
Posts: 6
Joined: Fri Jul 20, 2007 1:40 am

Post by arathi »

Hi volka
Thank's for ur suggestion
Post Reply