I\'m new to web programming and doing different tutorials that I can find on the net.
I did my research and found out that in int(11), 11 is the maximum display widt
The number is just a representational option called "display width". It may be used by some applications to pad the field when displaying numeric datatypes.
The int size is neither bits nor bytes. It's just the display width, that is used when the field has ZEROFILL specified.
This blog explains the meaning of int(size) in MySQL.