Topic: Having a list of data, to be stored in db, how do i make a post method

I am having an object which will have some properties which are either there or they aren't there.
for example the properties are:
option_1, option_2, option_3, etc
now each object will either have these or they wont, its a Boolean value.
now how do i make the database and how can i make a nested form for it??