Transaction on two db |
hi , to do transaction i use this code
[/CODE] $db = \Config\Database::connect(); $db->transStart(); //CODE $db->transComplete(); if($db->transStatus()!==false) { //CODE show message ok }else{ //CODE show message error } [/CODE] I must copy value from one table's db (on same server ) to another db table from another db
|
Messages In This Thread |
Transaction on two db - by pippuccio76 - 02-09-2024, 01:09 AM
RE: Transaction on two db - by InsiteFX - 02-09-2024, 01:23 AM
RE: Transaction on two db - by kenjis - 02-09-2024, 06:54 PM
|