You are filtering your Recordset with the value of: $_POST['month1']
on line 133, but that value is never submitted in the form. I'm not sure what you are trying to validate against, but that is why it never has a result and always passes validation.