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...

CodeIgniter Helpers 1

CodeIgniter Helpers

Helper files are a collection of functions in a particular group. For example, CodeIgniter has a URL helper, which lets you easily print your website URL or the current URL, build links, and a...

codeIgniter Libraries 0

CodeIgniter Libraries

Libraries used to provide common functionality that you want to be accessed by different parts of your app. They help provide a single point of entry that makes it simple to maintain consistency in...

0

CodeIgniter View

A view is a web page that display all the elements of User Interface. View deals with the front-end operations. View display data and capture user action. View send user action to controller. Location of ...

CodeIgniter Model 0

CodeIgniter Model

Models deals with back end operations. Fetch data from the database and send it to the controller. All database related manipulation is done by CI Model. For ex –  Select, Fetching records, update, and...

1

CodeIgniter Controllers

Controllers take care of moving the data between the model and the views and directing trafficbased on user actions. For example, when a user submits a form, the controller collects the data andshuffles it...

Directory structure of codeigniter 2

CodeIgniter Directory Structure

In the previous tutorial, we learned about the basics of Codeigniter and how to install Codeigniter. In this tutorial, we will learn about CodeIgniter directory structure. Codeigniter file structure contains three main folders: application...