Hi Friend,
According to me, please check your model Post.php. have you set "title" and "content" in fillable array??
eg.:-
protected $table = 'your_db_post_table';
protected $fillable = array('title','content');
I'm really ashamed!
I tried tracking the code and seeing if the values are actually received from the form, it appeared that the title's name is text by mistake, so that was the revolutionary mistake.
Could you please tell me what's the use of the code you mentioned, and is it necessary? Because it's still work even without it.
Really sorry for bothering you, thanks for the help.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community