Posts Tagged Mysql Set dropdown

Build dropdown from Mysql SET or ENUM fields






We need to populate dropdown fields from Mysql SET or ENUM fields pretty often. So here is how I use to do it. Lets say ‘test’ is a table that has a field, ‘agree’ of type ‘SET’ having values ‘Yes’ and ‘No’. On the front end of my application I want to show a dropdown/select […]

,

12 Comments