array_unique( ) filters an array so that a value can only appear once.
<? $toppings2 = array("Peppers", "Ham", "Cheese", "Peppers"); $toppings2 = array_unique($toppings2); ?>