I have been trying to solve this issue from yesterday. There is an issue in my update method and I can’t figure it out.
I have been trying to update my foreign key of the services
table.
User created a service and now I want to change the name of the user that created it and that updated it but nothing is happening I am getting this issue again and again.
This is my form field of the edit.blade.php
And this is the update method of my Controller:
I have tried many things, searched for thousand of things , watched for almost 10 times still nothing happened.
2
Answers
some things to do:
value=""
dd($request->all())
$fillable
arraycheck if the created_by and updated_by values from request is valid or not
dd($request->created_by)
dd($request->updated_by)