This code makes no sense:
if (!isset($_POST['dropdownws'])) {
$remove[] = "dropdownws";
}
It basically says "If it doesn't exist, remove it".... if something doesn't exist, why would it need to be removed?
It looks like all of your checkboxes have the same name="dropdownws". Try changing them all to: name="dropdownws[]"