Guest papas Posted October 23, 2009 Share Posted October 23, 2009 i would like to know what type,collation,chatacteristics,null ,e.t.c. we put for radio button and checkbox in the tables of mysql databases that we have made parallels plesk control panel. thanks Link to comment Share on other sites More sharing options...
Kameloh Posted October 23, 2009 Share Posted October 23, 2009 For checkboxes I use TINYINT(1) since it can store values 0 and 1 efficiently. You can also use TINYINT for radio buttons but if the values are greater than 10 you should at least make TINYINT(2) instead of 1.You can also set the default values to 0 in the database. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.