PHP Variables to JavaScript Variables in CodeIgniter

Often, you’ll find yourself in situations, where you want to pass some server-side string/array/whatever to your JavaScript. Traditionally, this can be a bit of a pain – especially as your app grows. “Transform […]

CodeIgniter _remap function?

CodeIgniter permits you to override its default routing behavior through the use of the _remap() function. As you already knew the second segment of the URI typically determines with function is in the controller get called […]

How to write Sub Queries in Codeigniter Active Record ?

Codeigniter didn’t provide an option to use subqueries with active record class. So today I would like to provide simple and possible comprehensive techniques on “creating Sub Queries with Codeigniter Active Record”. […]

File Upload using Uplodify in Codeigniter?

In this Codeigniter tutorial, I will show you how to use Uplodify(HTML5 or Flash Multiple File Upload jQuery Plugin Script) in your CodeIgniter application. If you are new to uploadify feel free to read about Uploadify […]

How to retrieve data from database in CodeIgniter?

In this CodeIgniter tutorial, I will show you how to fetch data from database using model, view, controller approach. As usual, we need need to setup database connection in order to perform actions like select, insert, […]

Error reporting handling in Codeigniter

CodeIgniter default environment is development and so error reporting by default in turn on state, if you want to turn off reporting then change the environment value(in the top of the main index.php) to production or […]

How to JOIN Tables in Codeigniter

I am gonna use CodeIgniter’s active record class to generate Join Queries in this tutorial. Because by using AR class we can write complex joins very easily and a major benefit to using the Active Record features […]

Insert multiple rows with CodeIgniter

In this post, I will show you how to insert multiple rows in CodeIgniter by using CI’s active records library. CI active record has a function insert_batch().By using this function we can insert multiple rows with […]

Codeigniter Image Watermark

You can easily watermark images in CodeIgniter by using CI’s image manipulation class. In CI Watermarking is only available using the GD/GD2 library. CI’s image manipulation library allows us to do image watermark […]

How to Use Composer With Codeigniter

Composer: Composer is an application-level dependency manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries. It was developed by Nils […]

How to use PHPExcel with CodeIgniter?

PHPExcel is a pure PHP library for reading and writing spreadsheet files and CodeIgniter is one of the well known PHP MVC Framework. In this tutorial, I am gonna show you how to Integrate PHPEXcel library in CodeIgniter […]

Generating a PDF in Codeigniter using mPDF

Hey, today I will show you integrating mPDF into CodeIgniter Application. mPDF is a PHP Class, by using this we can easily generate PDF files from HTML Templates.So styling PDF files as easy styling your HTML template […]

Generating alphanumeric unique ID in codeigniter

Today i will show you how to generate alphanumeric unique ID using Codeigniter. Some times there is requirement to generate the unique id, But most of the time we are going to write our logic. But Codeigniter Framework […]

Twitter Bootstrap Style Breadcrumb In Codeigniter

Today I would like to write about Generating Breadcrumb in Codeigniter.After generating it, we gonna apply Twitter Bootstrap Styles to it. Breadcrumb is most commonly used secondary navigation menus, which will improve […]