【发布时间】:2021-03-20 19:21:39
【问题描述】:
我想上传具有不同值的不同数据,我得到了我想要的 dd() 结果,但它只存储了第一个值
If I checked 0, 3, 5, 10 I want to insert all data together
I want to insert in data just like this, but it only insert first array
已编辑
我找到了这个问题的解决方案,我要存储的所有数据都需要在一个数组中,所以我使用4个for循环并将它们放在一个数组中然后插入。
【问题讨论】:
标签: php mysql laravel laravel-5