All Questions
25
questions with no upvoted or accepted answers
2
votes
1
answer
69
views
How can I show the old value in option fields in Laravel?
I want to show the old select value in this select field when I want to edit. How can I show my old value in these fields?
https://github.com/shakibzaman/book-library-laravel
you can show my GitHub ...
1
vote
1
answer
215
views
Create new user in database but keep password if it exists in Laravel
I am wondering if the updateOrCreate method in Laravel has a way to skip some information in case the record exists in the database. For example, I wanna be able to search for users, and assign a ...
1
vote
0
answers
456
views
Laravel encrypt cannot encrypt to database when using Update method
Hi i want to encrypt some field in database when user create or edit data. IF create, the encryption work, but when user edit data, the value that save in database will be normal text not encrypted
&...
1
vote
1
answer
553
views
Update single field in a Profile Update Form in Laravel 5
I am trying to update a single field in my user profile form section in the Laravel app.
I can save fields correctly in DB but input values and placeholders are taking wrong values. In every hit Save,...
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
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 ...
0
votes
1
answer
184
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 ...
0
votes
0
answers
98
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 ...
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
...
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('...
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) ...
0
votes
1
answer
215
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 ...
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....
0
votes
0
answers
223
views
How do I solve the modal update issues in Laravel?
I have a modal in which I want to update my Question but the modal keeps updating the same question so can someone help me because my modal keeps taking the same $id even if I click on different ...
0
votes
0
answers
43
views
laravel 403This action is unauthorized
Can you helpe me? I can't update sql's tables.
Laravel laravel 403This action is unauthorized.
Last stable version laravel and php7.4
class UsersController extends Controller
public function ...