Re: Michael Fesser if you are there please help
I got it sorted out.
> <select name="year" id="year">
> <?php
> foreach ($years AS $year) {
> print "<option value=\"$year\" ";
> if ($year == $now['year']) { print '
> selected="selected" '; }
> print ">$year</option>\n";
> }
> ?>
> </select>
I went to a foreach which was easier.
|