I have around 200 fields in Table with are numbered:
field_1
field_2
etc
So, I try to insert data in table:
Result::insert($data);
Where $data is multiple array:
$data = [] = array("field_1" => 3);
$data = [] = array("field_1" => 2);
So, an I set * in option protected $fillable = ["*"]; that to make all fiels as fillable?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2g74Bjj
via IFTTT
Aucun commentaire:
Enregistrer un commentaire