Category: Code Snippets

Contains a piece of code or a method.

Codeigniter: Pass Multidimensional Array to the View

In this post, we will see how to pass multidimensional array to the view in codeigniter.Multidimensional array is an array

Base Model: Create and Use Base Model in Codeigniter

In this post, We will discuss about base model in Codeigniter. Purpose of uses of Base model is to put

Fetch records between date range using codeigniter active record

Please find below the code to fetch all records between date range using codeigniter active record.

How to insert multiple array data using codeigniter active record

Below is the example to insert multiple array data using query builder class of codeigniter. By using $this->db->insert_batch() method we can achieve