Reputation: 2686
I'm editing a table via phpMyAdmin and see that the dID column is allowing me to select a value from a drop-down list. I initially set the column as an int.
Why is it doing this?
Upvotes: 0
Views: 1824
Reputation: 64429
It is probably a foreign key (constraint), so the choices you have (values that are allowed) are limited to the values in the referenced table.
Upvotes: 4
Reputation: 22350
Just as a guess, perhaps the dropdown list contains values that are found in that column in pre-existing rows of your table. So if there are values that commonly appear, you can select them instead of having to type them in. But that's only a guess.
Upvotes: 0