Hello
"; foreach($years as $option){ echo "
{$option}
"; }echo ""; ?>
$v){ ${$k}=$v; } } ?>
echo $_SERVER['PHP_SELF']; ?>"> echo "
"; foreach($years as $option){
echo
"
value='{$option}'>{$option}
"; }
echo
"
"; ?>
value="Save Year" />
echo 'The year
selected
is '.$_GET['Year']; } // also you can retrieve all the elements of the form creating dynamic variables like this if($_GET){ foreach($_GET as $k=>$v){ ${$k}=$v; echo ${$k}; } } ?>