double check your template. make sure you have '{iyear}' there.
and make sure your form sends $_POST['year']