此 php 代码显示月份两次,而不是正常显示。请帮帮我
<?php
/**
*
* Populationg the month dropdown list dynamically
* generating the months from January to december
*/
echo '<select name="monthz">';
for($m = 1;$m <= 12; $m++){
$month = date("F", mktime(0, 0, 0, $m));
echo "<option value='$m'>$month</option>";
}
echo "</select>";
?>