I have problem removing duplicate values from an array I have the following:
$input = explode(' ', $term_single->name);
$result = array_unique($input);
print_r($result);
I got the same value twice
Array ( [0] => QA )
Array ( [0] => QA )
What am I missing?