All Questions
57
questions
1
vote
0
answers
47
views
Update Data from 3 or more table from another table (Laravel)?
i have 3 table relation category, subgroup, and k3s, i want dynamic update using select, but when i update category from subgroup, data on k3s cant update, i just want update module_id to table k3s ...
0
votes
1
answer
3k
views
How to load items in a multi select dropdown for update - Laravel
Using Laravel, I have created an updatable form. One of these fields is a multi-select dropdown. This field should display all locations linked to a given project. So the user can see which location ...
5
votes
2
answers
9k
views
INVALID CREDENTIALS error when trying to update Laravel/Nova via Composer to latest release
I have been trying for two days now to update Nova
After getting the composer.json file correct to where the update process seems to be functioning, correctly I get an authentication error.
...
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 ...
0
votes
1
answer
1k
views
Call to a member function save() on array - using laravel
I am trying to update my user info and i have make object of json currently my json have object of user profile and i want to save my info using the json object i have also my controller code where i ...
1
vote
1
answer
1k
views
Laravel update to 5.8, updating dependencies
I currently have laravel updated to 5.8 from 5.2. Through the process I have it working and displaying the site, but I don't have all of the 5.8 dependencies added in that would be there as if I ...
0
votes
0
answers
304
views
Undefined offset: 1 (summernote in laravel) when update
i have an update function, i want to update the content using summernote, but issue an Undefined offset error: 1 on line 67 .. please help me guys.
Thank you guys
foreach ($images as $k => $img) {
...
-2
votes
2
answers
49
views
Is there any why in "Laravel" to update a newly added functionality?
I have a laravel setup on the server and another is on my dev server so is there any command or anyway like WordPress on single click it will update the files with newly added code. Can we do the same ...
-1
votes
2
answers
73
views
How do I do updates for my laravel project?
What command can I use to see a list of all my installed packages and do the update ? (through the terminal)
0
votes
0
answers
107
views
Automatic updates on laravel app
Is there a way to have wordpress like update system in my laravel app?
I want to be able to provide my users with the ability to click a button and the app will automatically override all changed ...
0
votes
1
answer
259
views
Updating a one to many relationship without the use of implode laravel
I am trying to update my data into my database where the relationship is that I have many schools, so when I try to save inside my database, I want to get something like this:
[![enter image ...
2
votes
1
answer
4k
views
Update data in database with laravel
Just want to check if it is possible to edit/update a data when my database is save the data like this:
I want to update the school_name, start_date, end_date, qualification_list all those but I don'...
2
votes
4
answers
2k
views
Cannot update Laravel 5.4 to 5.5 composer
When I tried to update Laravel 5.5 from 5.4, it is show errors.
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "...
0
votes
0
answers
214
views
Laravel: validate unique arrays on update
I know when I need to update value in database I can use unique rule like this 'name' => 'unique:phones,name,'.$request->phone_id,
But how can I apply third argument to unique rule when I am ...
49
votes
5
answers
39k
views
Laravel check if updateOrCreate performed an update
I have the following code in my controller:
for($i=0; $i<$number_of_tourists; $i++) {
$tourist = Tourist::updateOrCreate([
'doc_number' => $request['doc_number'][$I]
],
$...