Laravel将多个复选框值插入数据库

时间:2017-12-27 14:06:51

标签: laravel checkbox insert

我正在尝试从多个值中插入多个值复选框也添加了dropmenus值我需要一种方法来发布所有这些值 这个视图代码:

select p.supplier_id, COUNT(*) as count_suppliers 
from purchase_orders p
join suppliers s on s.id=p.supplier_id
where s.user_id=2 and p.creator_id=1 and s.archived='False'
group by p.supplier_id
order by count_suppliers desc

0 个答案:

没有答案