„index.php“ ändern

This commit is contained in:
Johannes Theiner 2021-05-05 10:48:15 +00:00
parent 1112cae21f
commit f9f5c1a097

View File

@ -51,7 +51,7 @@ $maxDate = date("m-d-Y", strtotime("-10 years"));
<select name="year" id="year" required="required" class="form-select">
<option disabled="disabled" selected="selected" hidden="hidden">---</option>
<?php
for ($i = date("Y") - 80; $i < date("Y"); $i++) {
for ($i = date("Y") - 80; $i <= date("Y"); $i++) {
?>
<option><?php echo $i ?></option>
<?php