![]() |
mysqli_sql_exception #1452 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: mysqli_sql_exception #1452 (/showthread.php?tid=78869) |
mysqli_sql_exception #1452 - miltonvas - 03-20-2021 I am newer ib C4 I have the next error mysqli_sql_exception #1452 Cannot add or update a child row: a foreign key constraint fails (`sgnet`.`items`, CONSTRAINT `fk__item_linea` FOREIGN KEY (`id_linea`) REFERENCES `lineas` (`id`)) I search on internet but I not found where i have the mistake Please can anyone help me RE: mysqli_sql_exception #1452 - InsiteFX - 03-20-2021 Show your CodeIgniter sql that you are using for help. |