To unset elements in an array if you know the keys but not the values, you can do:
$a = array("foo", "bar", "baz", "quux");
$b = array(1, 3); // Elements to get rid of
foreach($b as $e)
Of course this makes most sense if $b has many elements or is dynamically generated.