Skip to main content

All Questions

1 vote
1 answer
185 views

delete the previous file with newone on update in laravel

what happen to my update file? I can't update file in my program, what's wrong with my controller? edit.blade.php <div class="row"> <div class="col-12"> {{ ...
Elnur Nitya's user avatar
0 votes
1 answer
161 views

PHP : update related id in laravel

I have this two models : first for categories which connected with courses in id: <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\...
SM_Berwari's user avatar
1 vote
1 answer
899 views

Laravel update() method yielding 'x doesn't have a default value' error

I have a form which takes in the following values: stage_name, stage_type, 'client_id', 'created_at', 'updated_at' I was able to create a method for adding a new item in the table, however in ...
Beginner_Hello's user avatar
1 vote
2 answers
3k views

Difference between update and editing in controller - laravel

My table has the option edit. A row can be updated and saved to the database. While I was trying to implement this option I came across uncertainty. What do I have to do with the data from my edited ...
Nemo's user avatar
  • 513