Support the ongoing development of Laravel.io →
posted 7 years ago

When i send my ADD form.

Database table: video

ID / title / url / description / created_at / update_at

I have new row in databese but:

title / url / description was EMPTY.

https://paste.laravel.io/4435733e-cb17-414d-a54c-ec73a10be392#7

Last updated 3 years ago.
0

i don't know what is inside ur model.php

but i assume u havent set the derived $fillable


protected $fillable = ['title','url','description']

you must first set it

Last updated 7 years ago.
0

Thanks so much, yes you have right. I'm forgot to add title, url and description to my model ;)))

0

Sign in to participate in this thread!

Eventy

Your banner here too?

David david2b Joined 1 Nov 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.