CodeIgniter Forums
Can someone help me on how to use Trigger in Codeigniter? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Can someone help me on how to use Trigger in Codeigniter? (/thread-54296.html)



Can someone help me on how to use Trigger in Codeigniter? - El Forum - 09-02-2012

[eluser]rd13[/eluser]
Anyone knows how to use Trigger in codeigniter?? any tutorials? thanks in advance!


Can someone help me on how to use Trigger in Codeigniter? - El Forum - 09-02-2012

[eluser]john_j[/eluser]
are you talking about triggers in sql?


Can someone help me on how to use Trigger in Codeigniter? - El Forum - 09-02-2012

[eluser]rd13[/eluser]
yes! that's what i'm talking about.


Can someone help me on how to use Trigger in Codeigniter? - El Forum - 09-02-2012

[eluser]john_j[/eluser]
A trigger works on the database side. For example, you can use a trigger to move a record from table_A to table_B on update/delete (on some event). There are plenty of tutorials/ write-ups on this, please read one of them. Here is one, http://www.mysqltutorial.org/mysql-triggers.aspx


Can someone help me on how to use Trigger in Codeigniter? - El Forum - 09-03-2012

[eluser]rd13[/eluser]
Thanks for the information!