While saving the data if you want to modify the data and then save in the database then you will have to use mutators in the laravel
- make a controller
- make a model according to the table
- iimport model inside the controller
- Define a view for controller inside web.php
- modify model as given below
- Here we are adding Mr. to the name attribute before saving to the database
Problem
if this problem comes then simply disable the timestamp inside model