i figured that was the problem, the guy who is suppos to be "teaching" me apparently doesn't konw what hes talking about
well, anyway i got around the problem by doing
if(isset($POST[var_yyyy])){
if(empty($POST[var_mm])){
}
}
but i really would like to know how i could do that with one if statment