Transactions do not work - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Transactions do not work (/showthread.php?tid=71111) |
Transactions do not work - girub - 07-07-2018 hello everyone, someone will know me to say what am I wrong ...? transactions do not work or maybe something else ... I expect that if there is an error in the insert the transaction does not even update ... instead update is always performed ... what do you recommend? I did a lot of tests trying also with manual transaction .. but nothing thank you so much Giuseppe and sorry for my english !! I attach the relevant code PHP Code: $this->db->trans_start(); |