CI transaction on functions |
[eluser]Raymondddd[/eluser]
Hi guys, Currently creating a cart system for a company with CI. In the last step of the checkout i call a lot of functions like; create user, create order, order detail and more. I need to check if any of these function went ok, and if not; use a transaction. I've read this: http://ellislab.com/codeigniter/user-gui...tions.html but this will only work if you create a list of DB queries between the trans_start and trans_complete. Is there something like a transaction possibility using functions? Looking forward to your reply. Raymond |
Messages In This Thread |
CI transaction on functions - by El Forum - 03-17-2010, 02:32 AM
CI transaction on functions - by El Forum - 03-17-2010, 09:55 AM
|