$resetable_time = array(
                '0' => "00:00",
                '1' => "01:00",
                '2' => "02:00",
                '3' => "03:00",
                '4' => "04:00",
                '5' => "05:00",
                '6' => "06:00",
                '7' => "07:00",
                '8' => "08:00",
                '9' => "09:00",
                '10' => "10:00",
                '11' => "11:00",
                '12' => "12:00",
                '13' => "13:00",
                '14' => "14:00",
                '15' => "15:00",
                '16' => "16:00",
                '17' => "17:00",
                '18' => "18:00",
                '19' => "19:00",
                '20' => "20:00",
                '21' => "21:00",
                '22' => "22:00",
                '23' => "23:00",
            );
            echo '<select name="oppm_reset">';
            foreach ($resetable_time as $key => $value) {
                ?>
<option value="<?php echo $key; ?>"><?php echo $value; ?></option>
<?php
}
echo '</select>';

输出的样式为: