Welcome Guest, Not a member yet? Register   Sign In
How to run Transactions in controller?

Transactions should be handled in the Model that's where your business logic should be.

Initializing the database and accessing it in the controller is breaking the mvc logic.

Make methods in your model for this then call that method from the controller.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Messages In This Thread
RE: How to run Transactions in controller? - by InsiteFX - 04-02-2021, 06:01 AM

Theme © iAndrew 2016 - Forum software by © MyBB