Re: Concatenate date question
Posted: Mon Feb 02, 2009 5:39 pm
I'll give it a read now, some bedtime reading for me lol thanks again
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
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>";