3 years ago

List array from pivot table

Posted 3 years ago by cschoeni

How i can create create a array with user_id or other id from my pivot table (Many to Many relationship). The result must by $value = [1,2,5,7,8];

this is for my multiple checkboxes. With if function give the checkbox value true or false...

Please sign in or create an account to participate in this conversation.