Home » Codeigniter

Codeigniter best tricks and hacks

Codeigniter best tricks and hacks

Hi Friends,
Today I am sharing you some best tricks i have used in couple of projects, may be these things are common but we need these in all of our projects and we can find it on

Read More »

check value already exists in codeigniter

check value exists or not in codeign

Callback function of codeigniter which checks whether the value already exists in particular column of table or not.
This function work on add and edit both cases,it return false if value exists and return true if value not exists.
Read More »

Custom form validation in Codeigniter

Custom form validation in Codeigniter

Hi Geeks,
Today i am sharing you the Custom form validation example in codeigniter. Suppose we have a custom requirement to validate the data with our own custom rules like email already exist in database, So for this

Read More »

CONVERT HTML TO PDF IN CODEIGNITER Using MPDF

html-to-pdf convert w3school

Hi Geeks,
Today I am Sharing you the code for making pdf or download pdf files in codeigniter. In this Code snippet we have used the MPDF Kit for generating pdf of html views or dynamic templates. So

Read More »

How to remove index.php from Codeigniter url

Codeigniter 3 image - w3school.info

Here we will learn how to remove index.php from codeigniter url.
Each of codeigniter constructed url contains the value index.php and excluding root url. No url cannot be run without index.php
Assume a scenario , we have a

Read More »