I did read what Ray said...water01 wrote:William, you haven't read what Ray said!!!! Of course the php will validate but in the circumstances when the month is not set or contains an invalid value the php will generate incorrect code and it will fail.
PHP validation cannot by it's very nature test all circumstances that could occur when testing is made on data, it can only test syntax as it exists with code submitted at validation.
So at some stage in the future if the condition you removed exists your code will fail.
I can't see how my code will fail? If it works now, then it will keep on working!