removing redundancies 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
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

removing redundancies in array

Post by jaymoore_299 »

If I have an array that looks like this
(1,2,3,3,3,4,5,6,6,7,8)
how do I remove all duplicates and end up with this
(1,2,3,4,5,6,7,8)
choppsta
Forum Contributor
Posts: 114
Joined: Thu Jul 03, 2003 11:11 am

Post by choppsta »

Post Reply