wie lässt sich am besten einpulldown menü generieren
<option>0:00
<option>0:30
<option>1:00
bist 23:30
					<option>0:00
<option>0:30
<option>1:00
bist 23:30
<?php
    //arbeitsbeginn ende pause dropdowns
    $min = "00";
    $std = "0";
    $hours .= "<select>";
    while ($str != "23:30") {
        $hours .= "<option>";
        if ( $min = "00" ) {
            $min = "30";
        }else{
            $min = "00";
            $std ++;
        }
        $str = $std.":".$min;
        $hours .= $str"</option>\n";
    }
    $hours .= "</select>\n";
?>
$hours = "";
for ( $idx = 0; $idx < 1440; $idx+=30 ) {
    $hours .= "<option>".sprintf("%02d:%02d", (int)($idx / 60), $idx % 60)."</option>";
} 
Kommentar