I was looking through my database yesterday, and I stumbled upon a wordpress table. I got to looking in it, and I found some dropdown menus of specific values that the key could be. I want to know how to tell mysql that a certain key within a table can only be one of so many values, for example.
There is a name for what you are talking about, but for the life of me I can't remember it, or whether it's MySQL that supports it. Either way, I leave things like that to PHP rather than MySQL.
jayshields wrote:There is a name for what you are talking about, but for the life of me I can't remember it, or whether it's MySQL that supports it. Either way, I leave things like that to PHP rather than MySQL.