Concatenate date question
Moderator: General Moderators
Re: Concatenate date question
I'll give it a read now, some bedtime reading for me lol thanks again
- Skoalbasher
- Forum Contributor
- Posts: 147
- Joined: Thu Feb 07, 2008 8:09 pm
Re: Concatenate date question
mikes1471 wrote:I'll give it a read now, some bedtime reading for me lol thanks again
Code: Select all
$a = date("Y"); // current year
echo "<select name=\"year\" id=\"year\"> ;
while($a >= 1900)
{
echo "<option value=\"".$a."\">$a</option>";
echo $a--;
}
echo "</select>";