<?php
$years = array();
for ($i = 1900; $i < 2026; $i++)
{
$years[] = $i;
}
echo "<select name='Year'>";
foreach($years as $option){
echo "<option value='{$option}'>{$option}</option>";
}
echo "</select>";
?>
<?php
$years = array();
for ($i = 1900; $i < 2026; $i++)
{
$years[] = $i;
}
echo "<select name='Year'>";
foreach($years as $option){
echo "<option value='{$option}'>{$option}</option>";
}
echo "</select>";
?>
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment