I have some form data I'm storing in a database. Up till now I've been storing values for checkboxes as VARCHAR with the value 'checked' - which seems silly. Since there are only two values, why not just do this in some kind of binary fashion - store a "1" for 'checked', and a "0" (or null) for unchecked.
What (MySql) column type and value choices do people typically use for this sort of thing? Looking for a 'best practice' or otherwise preferred method here.
- Bob