Jump to content

Tables In Mysql


Guest papas

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...