Date range in WHERE clause
No worries, glad I could help. It's probably the most interesting bug I've looked into this year.
If you're just storing a year as opposed to full date, I think using a text field makes more sense, you just need to be a bit careful with how MySQL handles the ordering of strings - which is why I added the * 1 to the end of the year fields.
PHP Programmer - interactivetools.com