I want to remove that 2 Justin Bieber elements from this array and display it in select tag.
This is the code I have:
<?php
$arr = array('Dream Theater', 'Animals as Leaders', 'Chimp Spanner', 'Periphery', 'Linkin Park', 'Metallica', 'Justin Bieber', 'Slipknot', 'Justin Bieber');
echo "<pre>";
print_r($arr);
?>
<select>
<?php foreach ($arr as $value) {?>
<option><?php echo $value?></option> //I do not want to echo "Justin Bieber" here
<?php }?>
</select>
<?php
die;