来月の日付を出すにはどうしらしいんだろう?
output2.php
puts 'code with syntax'
<form action="output2.php" method="get" accept-charset="utf-8">
<dl>
<dt>日にち</dt>
<dd>
<select name="day" id="day">
<?php for ($day=1; $day<=date('t'); $day++) {
print('<option value="' .$day. '">' .$day. '日</option>');
}
?>
</select>
</dd>
</dl>
</form>