[eluser]TheFuzzy0ne[/eluser]
Thanks for your input. I need to find out about MySQL triggers. Ultimately, I need to try and find a solution that works across all of the databases that CodeIgniter supports with Active Record. Although it's not important at the moment, it's just something I'd like to do if the code forum code ever goes public.
It's just occurred to me that I can, (to some small degree, anyway), emulate a MySQL trigger, by coding the triggers into the model. So when ,for example, $this->forum_model->insert_post() is called, it will call upon $this->forum_model->update_post_count(), or something like that? This method introduces another problem, however. Database functions start being dependant on other functions, (which may be subject to change), and doesn't that go against the whole MVC thing?
Thanks again for your input.