Skip to main content

All Questions

Tagged with
0 votes
0 answers
18 views

Update Form with 2 different source models, with 2 foreach

so, I have a form in which there is a dropdown with a data source from another model/table. to retrieve that data, I use foreach. there seems to be no problem during the insert process, but during the ...
Irfan Chaniago's user avatar
-3 votes
1 answer
58 views

I created another update route and function call update_mark, but when i click it always run to function update

This is my route' Route::post('/postponse_apps/update_mark',[PostponeApplicationsController::class,'update_mark']) ->name('update_mark'); Route::resource('/postponse_apps', ...
nguyen loan's user avatar
0 votes
1 answer
181 views

Proc_open problem. How to publish flare config file

I have installed php script made in laravel for my web-site: mirkoviclux.rs and everything worked perfectly and today I got this error. The Process class relies on proc_open, which is not available ...
Xcaos's user avatar
  • 1
-1 votes
2 answers
47 views

I am getting this error while want to update in the database

Missing required parameter for [Route: blog.update] [URI: blog/{post}/update] [Missing parameter: post]. in routes : Route::put('/blog/{post}/update', [BlogController::class, 'update'])->name('blog....
Gyanaranjan Sahoo's user avatar
0 votes
0 answers
97 views

Two duplicate rows | Laravel BUG

it is possible that there are two duplicate rows of my database, exactly identical. In the function I used for its creation I called once $ resource-> save () and a few times $ resource-> update ...
Vincenzo Locatelli's user avatar
0 votes
0 answers
373 views

How to update and delete multiple images in laravel?

I want to update and delete multiple images on laravel, the old images will be automatically deleted from storage after the update. And when I click to delete all images and other data are deleted too ...
ken thoriqi's user avatar
0 votes
0 answers
134 views

How to update image and delete image from two tables?

I have two tables image_rekap and rekaps how to update image and delete image. Controller: public function index(Request $request) { if($request->has('search')) { $data = rekap::where('...
ken thoriqi's user avatar
0 votes
1 answer
366 views

Laravel best approach for Testing if a value will change

The code I have a database, which has a table for Teams and Instructors along the lines of: | id | team_id | instructor_id | ... | Every 24 hours a batch runs that updates the instructor for that ...
theblindhawk's user avatar
  • 1,496
0 votes
1 answer
442 views

Update default value

Good Morning Currently I am working on a job portal by the use of Laravel 8. The idea: I want to show the applicants the status of each job (they applied on). so for example: Engineer (as position) ...
Aly's user avatar
  • 11
0 votes
1 answer
212 views

After updating the user's email, send a message to reconfirm the email

When the user registers, an email will be sent to confirmation But how do I send a notification when a user updates their email? Like when he registers Use the link below to use Laravel's own ...
ahmadreza1383's user avatar
-1 votes
2 answers
149 views

laravel eloquent ORM update and delete

How to combine POST and UPDATE commands in one action in laravel 8 with ajax? I have one column "status" in another table that I need to update when I save the data. In this case basically I ...
Bumblebeen's user avatar
0 votes
2 answers
29 views

how to update first row on button click

i want to update a first record status into '2' based on button click. Here is my code : public function repay(Request $request,$loanid){ $obj = DB::table('schdls') ->where('schdls....
Bayakaa Gungaajav's user avatar
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
1 vote
1 answer
964 views

Laravel7, user's phone (unique) by update throw 'The phone has already been taken.'

In profile.blade, while updating the inputs in the profile getting Error The phone has already been taken. Controller: public function profileUpdate(Request $request) { $user = Auth::user(); $...
Yassin's user avatar
  • 27
0 votes
2 answers
2k views

Updating input field by leaving

Is it possible with Laravel livewire to change a field in the database when leaving the input field?
Markus May's user avatar

15 30 50 per page