php array 20 30 40 60 90 foreach array as value echo option value row-

1
2
3
4
5
6
7
<?php
$array = [1,20,30,40,60,90];
foreach($array as $value)
{
echo '<option '.($value == $row->ShipingTime ? 'selected' : '').' value="'.$value.'">'.$value.'</option>';
}
?>