is there an easy way to create a list from an array which originally had duplicate entrys in it but after sorting only has one type eg
original array
item1 item1 item2 item2 item3
after coding
item1 item2 item3
cheers in advance
del
You mean you want to remove any duplicate entries from the array?
$array=array_unique($array);
http://uk.php.net/manual/en/function.array-unique.php
Yep that was what i was looking for thanks a lot Danny
I should have done some looking up in the manual 🙂
again many thanks mate 🆒