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 name is couple tour

refrence:https://stackoverflow.com/questions/45912985/laravel-update-array-syntax/45913079

Tagged :