3 months ago

Storing data from 1 table to another tables

Posted 3 months ago by ilhmhmdn

Hello, I am new to Laravel and kind of confused about this one. Let's say, I have a table named 'leads', and 2 other tables named 'opportunities' and 'companies'. So, I have all these data in the 'leads' table and want to store them in both 'opportunities' and 'companies' tables. The data in 'leads' are gotten from user, where they will have to fill a form.

Here are the data:

I am clueless as in how to copy the data. If it is possible, may I know the step I have to do in other to achieve this?

Please sign in or create an account to participate in this conversation.