[eluser]Rey Philip Regis[/eluser]
Hi guys, I need you help again. Just want your advice cause Im having a small problem on where to put my transaction whether to put in a CONTROLLER or in a MODEL or simply create a LIBRARY then do the transaction there. Sample I have a method insertUser() in my users_model class and an insertAddress() in my address_model class. So I want to do a transaction, so id one of the insert method fails, it will rollback. What do you think about that?
Good day.