* Thus wrote Adam Williams: > for example if I have an array: > > array( [0] => 'dog', [1] => 'cat', [2] => 'rabbit', [3] => 'cat') > > how do I make it just have array ( [0] => 'cat' )? i want to drop the > non-duplicates and trim the array to only have one of the duplicates?
If you're pulling this data from a sql table, then you're better off having the database server do this work for you. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php