This commit is contained in:
Walter Hupfeld 2023-10-11 21:38:01 +02:00
parent 2173225fa1
commit 6d02f0c272

View File

@ -56,7 +56,7 @@
<?php
foreach ($arrVehicles as $key=>$vehicle)
{
$strActive = ($i==$numVehicle) ? "selected=\"selected\"" : "";
$strActive = ($key==$numVehicle) ? "selected=\"selected\"" : "";
echo "<option value='$key' $strActive >$vehicle</a>";
}
echo "<input type='hidden' name='year' value='$numYear'>";