In this tutorial you will learn about the CodeIgniter Model and its application with practical example.
What Is CodeIgniter Model?
In MVC framework, the letter “M” stands for Model. Model are means to handle the business logic in any MVC framework based application. Model is a class that represents the logical structure and gives you the way to retrieve, insert, and update information into your data table. In CodeIgniter, a model usually contain functions that help you retrieve, insert, and update information in your database.
All of the CodeIgniter Models are stored in the application/models directory.