<select>
<option>A</option>
<option>B</option>
<option>C</option>
//... and so on - till Z
</select>
is there any shorter way, something like:
$arr = alphabet;
foreach($arr as $el){
echo "<option>" . $el . "</option>";
}
So, I need to avoid writing this:
$arr = array('A','B','C','D'... );