Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Laravel Error:Integrity constraint violation

yesterday : when i am trying to submit data to store in database i got error integrity constraint violation rule because role_id is foreign key and i did not mention this field in user model. Solution: after role_id mention in user model my error got solved https://gist.github.com/rakesh1166-cm/6e233a6d0f51504801713420cb483338#file-users-php

How to Store Multiple Records using Checkbox in Laravel?

First Part: first of all, we will learn how to design or getdata in blade file In table we will set one field default value as no while migrating data test_migration.php In blade file we will create one table Next, in js we will create one fetch function onclick java script function Routing:set route Route::prefix(‘/touroperator’)->group(function … Read more

How to update multiple table rows using single edit button In Laravel Microservice

I have three table package,addimage,iternaries and triptitle is foreign key(common key) for all three table. my requirement is if i update package table using edit button then automatically updated addimage,iternaries table In above figure 3 table package,addimage,iternaries and trip title and trips are foreign key i want to update those row whose triptitle or trips … Read more

How to delete multiple table rows using one delete button In Laravel Microservice

I have three table package,addimage,iternaries and triptitle is foreign key(common key) for all three table. my requirement is if i delete package table using delete buttonthen automatically deleted addimage,iternaries table In above figure 3 table package,addimage,iternaries and trip title and trips are foreign key i want to delete those row whose triptitle or trips name … Read more

How to add multiple image using Laravel Microservice

Step 1: take input image name as array and write multiple in blade file Step 2:store data using ajax Step 3: set routing Route::prefix(‘/touroperator’)->group(function () use ($namespace) { Route::post(‘addimage/{email}’, “$tourcontroller@addsimage”); }); Step 4: In client side controller create function to get access token take a variable as array and pass inside for loop and all … Read more