Category: Codeigniter

CRUD operation in CodeIgniter 1

CRUD operation in CodeIgniter

In this tutorial we will learn aboout CRUD operation in CodeIgniter. CRUD Stands for create, read, update and delete record in the database. SQL table tblusers structure used in this CRUD Operation. CREATE TABLE...

Active records in CodeIgniter 0

Active Record in CodeIgniter

CodeIgniter uses a modified version of the Active Record Database Pattern. This pattern allows information to be retrieved, inserted, and updated in your database with minimal scripting. In some cases only one or two...

Database interaction in CodeIgniter 0

Database interaction in CodeIgniter

Databases are the backbone behind any Web application. Without a database, you’d have nowhere to hold all of your data, and SQL queries can become long and cumbersome to type out. Thankfully, CodeIgniter gives...

Form Validation in CodeIgniter 3

Form Validation in CodeIgniter

A form is displayed to the user, who then fills it in and submits it. The Form Validation Library then checks the form against any rules that the developer has set. If an error...

How to create form in CodeIgniter 0

How to create form in CodeIgniter

For working with form in CodeIginter you have to use form helper.Load the form helper $this->load->helper(‘form’); You can also load the form helper in application/config/autoload.php. $autoload[‘helper’]=array(‘form’); Benefit of loading form  helper in the autoload.php...

CodeIgniter plugins 0

CodeIgniter Plugins

Plugins work in almost exactly the same way as Helpers. The main difference is that a plugin should be used to add a single function, instead of a collection of functions.Helpers are also considered...