I want to add a certain number of years to the $useryear varible and save it under a new varible name.
$newvar = $useryear+3;
$newvar won't be passed on unless you stick it into a hidden field in the form
<input type="hidden" name=newvar value="<?echo$newvar?>">
But it'd be easier to just alter the variable as wanted after they submit the form.
I don't know why your talking about session variables, if you have a pull down field in the form called useryear, then when the person clicks submit their choice can be accessed from the $useryear variable.
Or, $_POST['useryear'] if register globals is off.
I don't think you really need a function to add 3 to a year, imho.