CodeIgniter is PHP Open Source php MVC framework that can help us to speed up the development of our web applications. CodeIgniter was written by Rick Ellis, rock musician turned programmer.
MVC Stands for Model, View and Controller. MVC is software approach that separate your application logic from its data and presentation.Model
Model holds our data structures.Model Class contain functions that help us to retrieve ,update and insert data in our database.View
View holds data presentation logic.View requests data from the model that it uses to generate an output representation to the user.Controller
Controller work as coordinator between Model and View.Controller takes input from the user and instructs the model and a view to perform actions based on user input.
CodeIgniter Installation is so simple and easy. CodeIgniter Installation steps are given below.
We can use multiple database in one CodeIgniter application.Here is simple example where we use second database.
CodeIgniter Query Results function are give below.