<?php$words = array('the', 'think', 'this', 'that', 'the', 'their', 'that', 'the', 'the', 'those');$uniqueWords = array();foreach ($words as $word) { if (!in_array($word, $uniqueWords)) { $uniqueWords[] = $word; }} var_dump($uniqueWords);?>
Jump To Top of Thread