How to create items based on a submit form?

Hello,

I have done my CRUD to make events, and inside that there is a relation to create "inscriptions", for each inscription I made, i want to create "4 quotes" on the table "quotes", how to do that?

Let's say:

  • events id, name
    -inscriptions id, client_id, event_id
    -quotes id, value, date
Once i create inscription i want to create different quotes.

Thanks
Was this page helpful?