"; $isVaild = false; } if(!isset($year) || strlen(trim($year)) == 0){ echo "Graduate Year field is missing
"; $isVaild = false; } if(!isset($comments) || strlen(trim($comments)) == 0){ echo "Comment field is missing
"; $isVaild = false; } if($isVaild){ echo "Name: $name
"; echo "Graduate Year: $year
"; echo "Alumi: $alumi
"; echo "Comments: $comments"; } ?>