Codeigniter pagination with search query string

Today i will show you how to create pagination with get parameters without changes in existing library. I create simple code for codeigniter pagination with query string. <?php $this->load->library(‘pagination’); $this->load->model(‘Your_model’); $total_rows = $this->Your_model->total_num_rows($this->input->get(‘term’)); $config = array(); if ($this->input->get(‘term’)) $config[‘suffix’] = ‘?’ . http_build_query($_GET, ”, "&"); $config["base_url"] = base_url(); $config[‘first_url’] = $config[‘base_url’].’?’.http_build_query($_GET); $config["total_rows"] = $total_rows; $config["per_page"] […]

Minify HTML in CodeIgniter using Hooks

if you are looking for how to minify HTML in Codeigniter? Then this tutorial is for you. Before starting, lets discuss briefly on Minification. What is HTML Minification The term “minify” in programming language, It’s describes the processes of removing unnecessary characters in the source code. These characters include whitespaces, line breaks, comments, and block […]

Redirect http to https using htaccess

Today we are going to show you how to Redirect from http to https using .htaccess file in codeigniter. If you have a website with HTTP and you have purchased the SSL for your site then you want to redirect from http to https it’s hard but not impossible to manage redirection because till now […]

How to execute mysql query inside codeigniter helper

In this tutorial i will show you how to execute mysql query inside codeigniter helper. If you want to use database inside your helpers, you need access to the CI super object. In your function how to execute mysql query inside codeigniter helper <?php if (!defined(‘BASEPATH’)) exit(‘No direct script access allowed’); function helper_funtion() { $ci […]

Upload and Resize Image and Create Thumbnail Codeigniter

How to resize image in Codeigniter in simple and easy way In this tutorial I will show you how to upload image and create thumbnail or resize image and uploload in another folder using CodeIgniter. Upload file functionality is one of the most common requirements for most of the web applications and Codeigniter providing uploading […]

Rename file while uploading in codeigniter

Today i am sharing quite interest tutorial about how to rename or change the file name of uploaded files with CodeIgniter. If you trying to add time as the prefix of the image name along with the original name when uploading, But you couldn’t figure it out. Then this tutorial perfect for you. Step 1. […]

Pagination In CodeIgniter With Example

Today i am showing how can we create pagination in codeigniter for website home page, In this tutorial we used CodeIgniter pagination class by initializing pagination library. if you developing any blog or listing website then i am sure you have to create pagination for website home page also. Pagination is one concept used for […]

Upload file with database codeigniter

Today we are going to show you how to upload files into a folder and save it’s name in a database table in simple way. In an application, we uploading single image. In codeigniter that’s the function responsible for performing the file upload operation you may want to read this: File uploading Class Here we […]

Simple codeigniter login system

Today we are going to show you how to create a codeigniter login system in simple way. Here we are explaining step by step how can we create simple effective codeigniter login system. This codeigniter login system is tested and working fine in case if you getting any kind of errors and not understanding how […]

PHPKIDA Offering Free Tools:


Download Instagram Videos & Photos.

Download Now


Real Time Currency Converter

Convert Now


Robots.txt File Creater

Create Now


Compress yout HTML Code

Minify Now


Compress yout CSS Code

Minify Now


Compress yout JavaScript Code

Minify Now

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.