Could not find the database"); return mysqli_insert_id($result)Warning: mysqli_insert_id() expects parameter 1 to be mysqli, boolean given in C:\xampp2\htdocs\XXX\controllers\User.php o
我已经在mysql中创建了financialTrack表,以便在financial表中记录插入的行,然后创建以下触发器来执行此操作:AFTER INSERT ON `financial` FOR EACH ROWINSERT INTO `financialTrack` (user, changedValue) VALUES (NEW.user, NEW.Value);下面是我的表结构:+--------------+--------------+----