Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
 
PREVIOUS NEXT
Tagged: #Add #fillable #property #mass #assignment
ADD COMMENT
Topic
Name
1+8 =