Answers for "add [name] to fillable property to allow mass assignment on [app\models\poverty]."

PHP
3

Add [nom] to fillable property to allow mass assignment

// you var are not fillable, you have to set them fillable

protected $fillable = ['var1', 'var2', 'etc'];

//now you can fill your vars
Posted by: Guest on August-05-2021

Code answers related to "add [name] to fillable property to allow mass assignment on [app\models\poverty]."

Browse Popular Code Answers by Language