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 button
then 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 is couple tour

Query:

Rakesh K
Tagged :
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x