All Questions
Tagged with insert-update laravel
24
questions
1
vote
0
answers
89
views
Adding item in wishlist , but after adding showing red heart when i refresh i want that instant in laravel
I am adding an item in wishlist in laravel , item is adding in wishlist and showing red heart but after adding when i refresh then only it shows red heart, how can i make it red heart instantly after ...
0
votes
2
answers
1k
views
Import [insert or update] Excel/CSV to MySQL database using maatwebsite in laravel 7
While importing/uploading an excel file, if the data is already present in the excel file then update it in the Database or else insert it. This means before inserting should check with the database. ...
0
votes
1
answer
400
views
Error. How can i make live table update and delete using ajax in laravel
i try to make editable role in user table but its error and not update data to database
here the error
this is my blade
<div class="table-responsive">
@csrf
<table ...
0
votes
1
answer
269
views
Laravel | Update two tables
I have a doubt here regarding changing data in two tables in
public function editar_perfil(Request $request, funcionario $item){
$item->nome = $request->nome;
$item->email = $...
0
votes
1
answer
1k
views
Laravel can't update in database __ the create is working
The problem i have is i click on show on a seperate page then i edit the data.
but when i click on update nothing happen.
Controller
public function edit(Request $request,$id)
{
//
// $...
1
vote
1
answer
1k
views
Laravel patch method not supported (even on update method)
HTML PATCHING FORM
{{ Form::model($model , [ 'route' => ['admin.friendship.update', $model->id] , 'class'=>'needs-validation ajax-form', 'method' => 'post' ]) }}
@...
0
votes
1
answer
162
views
Laravel 5.8 The PUT method is not supported for this route. Supported methods: GET, HEAD, POST
I want to update a form with the @method('put')
<form method="POST" action="{{ route("admin.experiences.update", [$experience->id]) }}"
enctype="multipart/...
0
votes
1
answer
11k
views
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'status_member' cannot be null
i have failed to save update data, the notification error message is SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'status_member' cannot be null (SQL: update daftar_pelanggans set ...
0
votes
1
answer
186
views
laravel array update multiple rows with diffrent ids
i am stuck in when i update multiple array value then each time update same value in diffrent ids like i have three fields like email,alert_level and select in select dropdoewn depends on alert_level ...
0
votes
2
answers
1k
views
Update multiple table
How do I update the two tables, I have 2 tables, order and product, I want to update the product data on the order, I do it with the following code, but the product doesn't want to update
public ...
0
votes
0
answers
512
views
PHP Laravel import and update product list with unique key
I'm writing CSV importer to add/update product list in DB. Product list should have stable ids, so it's important to update records, not to delete and add new ones. Also product feed may have ...
0
votes
2
answers
159
views
Form data can not be updated
[![fields keep old values][1]][1]
I am trying to update a form with name , email and role after I set roles and permissions using Laratrust,
my userController:
public function update(Request $...
0
votes
2
answers
128
views
Why table field keeps the old value while update?
When I press the update button of my application, it keeping the old value and does't apply return redirect functionality.
Create, Edit and delete is working properly
I tried composer update and ...
0
votes
1
answer
1k
views
Update Comment in Laravel
I am new at Laravel and I want to use if statement inside Laravel Controller.
So I have a form tag where I can add comments. I want to edit comments in the same form.
Here is my form tag:
<form ...
0
votes
2
answers
2k
views
I want to edit record then update it using laravel
I am trying to edit record when I click Edit Button record is not fetching into input field using laravel
Does anyone have any idea How can I fix it?
I am facing an error
Property [product_name]...