hi
i'm currently working on the design of an application using mysql and php-4
the goal of the application is to record job requests from users
(ex : user1's office door is broken, user2's phone is out of order, user3 needs a new chair/desk etc ..)
my ERD is quite simple and has 2 entities:
user ----> job
where 1 user can request from 0, to N jobs and 1 job depends on 1 user
problem is the html form we need contains a bunch of checkboxes which i have to record the status in the database, as booleans (around 20 checkboxes) like job concerns phone, fax, network, chair, desk etc .. 1 or more checkboxes can be checked for 1 job
i'd rather not have 1 field for each checkbox in my job table, i was thinking of creating a specific table for all the checkboxes, but for that i would need a joint table between the checkboxes table and the job table which i think would be theorically good but practically not very optimized
does anyone have an idea of the database schema i could use for this ?
thanks a lot !