I really don't know where to start here, so guidance is appreciated.
Let's say I have a series of values:
$list = "milk, bread, cheese, milk, milk, eggs";
If I explode these:
$exploded = explode("," $list);
Is there a way that I can then filter out the duplicate values, so that the resulting list will look like:
Array
(
[0] => milk
[1] => bread
[2] => cheese
[3] => eggs
)
Thanks much!