V
V
vitaly_742019-04-09 10:09:29
Yii
vitaly_74, 2019-04-09 10:09:29

How to save data in many to many relationship in yii2?

there is a projects table, there is an intermediate table, there is a users table,
how to save all users who participate in the project? only transactions and foreach come to mind.
I read that there is a link but I do not quite understand how to use it and whether it is suitable for solving this problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2019-04-12
@masterfreelance

Everything is written here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question