Codeigniter Remove index.php from URL

To remove index.php from url, please use following steps: 1. Open the file config.php located in application/config path.  Find and Replace the below code in config.php  file.    // Find the below code $config['index_page'] = "index.php"    // Remove index.php $config['index_page'] = "" 2. Go to codeigniter application root follow and create .htaccess file. 3. Write following code in … Continue reading Codeigniter Remove index.php from URL

Create Pages in Codeigniter

Followings are steps to create static web pages in Codeigniter: 1.The first thing in creation of static page is setting up controller For this you have to create a file pages.php in CodeIgniter/application/controllers i.e. the path of pages.php will be CodeIgniter/application/controllers/pages.php. Write the following code inside pages.php file: 1 2 3 4 5 6 7 … Continue reading Create Pages in Codeigniter

Pagination In Codeigniter

  Pagination is one of the most frequently used features for web applications. Wherever we have a bunch of data and need to show them as a list, we require pagination to prevent hundreds/thousands of data in a single page. As a robust framework, codeigniter provides very efficient way to handle it with its integrated … Continue reading Pagination In Codeigniter

Codeigniter CRUD Application

Creating Classroom Management System Using Codeignitor, Here is Code For Develop App: Firstly Create Table Named student Inside Codeignitor Database CREATE TABLE IF NOT EXISTS `student` ( `id` int(11) NOT NULL AUTO_INCREMENT, `s_name` varchar(64) DEFAULT NULL, `p_name` varchar(64) DEFAULT NULL, `address` varchar(128) DEFAULT NULL, `city` varchar(32) DEFAULT NULL, `state` char(2) DEFAULT NULL, `zip` char(10) DEFAULT … Continue reading Codeigniter CRUD Application

CodeIgniter Introduction

What is Codeigniter CodeIgniter (CI) is one of popular php framework. If you are already building PHP Application, CodeIgniter will help you to do it better and more easily. With CodeIgniter, you can save time, make your web more robust, your code will be easier to read and maintenance. CodeIgniter (CI) is free, lightweight, and … Continue reading CodeIgniter Introduction