I need ideas on how to send check-box related to id

0

I'll try to explain in a simple way how the screen itself works

It is an access level, the system_group_group table lists the id of a system option (ex: product register) with a user id together with a variable with "S" or "N", thus giving access to the user, the screen is almost finished, I just need to find a way to store the records.

I have already done a query that displays all the system options together with a check box, this query already lists each item with its referent id and opcao_id in the database_option_group_processor, but I do not know how to do, for example, save the options that I checked with check-box, I'm trying and just passes the value of the last item.

It would be simpler to send one record at a time, but it is necessary to write all the selected ones to the database, remembering that by default every user already has in the table "system_option_group" all the records with all the system_options and the_id_user relation with the enabled field comes as "N".

    
asked by anonymous 30.08.2018 / 00:02

0 answers