in reply to Re: working with year in mysql
in thread working with year in mysql

If you are using placeholders, then I think an undef value will evaluate to NULL, but you'd have to check that
Yep, it does. And that's what he should use.