Hello,
I'm currently learning PHP & MySQL from a PHP & MySQL book, and I'm currently learning about MySQL data type names. I'm a bit confused about a particular bit in this section.
ENUM ("val1" , "val2") - What is this data type used for?
Is it something to do with a PHP value? Like this is a variable and value $something = "something" and "something" is the value? And so ENUM ("something") would store the value in the database?
If someone could help, it would be appreciated
.
Thanks.
I'm currently learning PHP & MySQL from a PHP & MySQL book, and I'm currently learning about MySQL data type names. I'm a bit confused about a particular bit in this section.
ENUM ("val1" , "val2") - What is this data type used for?
Is it something to do with a PHP value? Like this is a variable and value $something = "something" and "something" is the value? And so ENUM ("something") would store the value in the database?
If someone could help, it would be appreciated
Thanks.







