In this tutorial, we are discussing “Form Helper” In CodeIgniter. We generally use a form to collect input from the user and store it either database or file. And uses this information as per application requirements. In CodeIgniter, The Form Helper file contains functions that assist us working with forms more effectively. Continue reading
CodeIgniter
CodeIgniter Creating Extending Replacing Libraries
Creating your own libraries:
You can easily create your own libraries. The first step in creating a library is to create a file inside the System/application/libraries/ directory, with a relevant name, you should also take the naming conventions outlined in the style guide into account. Continue reading
CodeIgniter library
CodeIgniter library:
A CodeIgniter library is simply a class file that abstracts functionality into easy-to-use functions that take much of the strain off the developer. Take the Database Library as an example. It contains many functions that make the creation of complex SQL queries very easy; it also makes queries much more readable. Continue reading
CodeIgniter Route Configuration
Route configuration generally used for remapping URL string. Typically there is a one-to-one relationship between an URL string and its corresponding controller class/method. The segments in a URI normally follow this pattern: Continue reading
CodeIgniter Remove Index php from URL
Everyone should want to remove trailing index php from URL after installing CodeIgniter. Removing Index.php from URL, it looks clean and more search engine friendly. That’s why you want too. You can remove index php part of the URL by adding a “.htaccess” file to the root of your CodeIgniter install. Continue reading
CodeIgniter Base URL Configuration
In continuation of CodeIgniter configuration, in this tutorial, we are going to configure Base URL for a web application Continue reading
CodeIgniter Database Configuration
In continuation of basic configuration tutorial, now we are going to configure our database for the web application. The database is most important (Backbone) part of any application for storing and retrieve information an organised manner. In CodeIgniter database configuration comes in database.php under /application/config directory. CodeIgniter currently supports following database to build any web application: Continue reading
CodeIgniter Basic Configuration Using Auto load
In continuation of our CodeIgniter tutorials, the next step we are setting up some basic configuration. We can manage our CodeIgniter configuration from application/config directory. The config directory contains the group of files which handle your application configuration. Continue reading
MVC Concept with Basics of CodeIgniter
Although you have heard this term MVC mentioned in the previous article. MVC is an approach to separating your applications into three segments: Models, Views, and Controllers. Continue reading
CodeIgniter Application Architecture
In the previous post, we know how to setup CodeIgniter on your local environment. To proceed with configuration it is very important to know Application Architecture. The CodeIgniter application Architecture looks like below: Continue reading