How do I put several checkbox option on my system, and save the database, type * male * female * other?
⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠
Posted 27 June 2013 - 21:54 PM
How do I put several checkbox option on my system, and save the database, type * male * female * other?
Posted 28 June 2013 - 05:06 AM
Hello and welcome to the forums [member=joabe anderson].
whe you build the table within your database just make this field enum or set. Check this photo from the examples that come with the Grocery CRUD library,
this is the film table.
Also check this function: http://www.grocerycrud.com/documentation/options_functions/field_type#multiselect-field
Look on the internet what's the difference between the two types in a MySQL database.
Posted 28 June 2013 - 13:43 PM
Tranks !