• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
G
G
Greg Popov2016-05-15 15:14:37
Yii
Greg Popov, 2016-05-15 15:14:37

How to insert into 2 tables in Yii2 by links?

There is a table tab1 and tab2, I can't find an example of saving data with fk connection, how to save such data?
UPD: Preferably using transactions.

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

0 answer(s)
Similar questions
Y
Yaroslav Yakovlev2022-01-27 19:08:09
I need to transfer the file to a folder on drive C like C:/Windows/searvicing. But it says access denied, how can I get access using the code? 3Reply
R
robotcigan2015-05-27 20:19:49
Why doesn't IntelliJ IDEA 14 update css and js files? 1Reply
N
Nikolai Novosad2016-06-12 18:09:16
Yii2 to specify in frontend the path to the image that is in the backend? 1Reply
T
Tim2020-09-18 09:59:11
How to remove Swiftmailer settings from config? 1Reply
G
GalileoGalileu2022-01-13 16:08:26
I need to start a yii2 project, but how? 1Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners