hi people i am new at php and wondering what does int(4) mean in creating this table. thanks for helping.
CREATE TABLE mytable(
name VARCHAR (50),
age INT(4),
email VARCHAR (50)
);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using MySQL, it is the display width of the integer. You can find this sort of information in the MySQL user manual: