Posts Tagged with 'CodeIgniter'

Introduction In this article, we'll explore how to use the JOIN query in CodeIgniter's Active Record. We'll cover different types of joins, provide step-by-step explanations, code snippets, and conclude with a complete code example. Additionally, …

Last updated 1 month ago | 93 views

Tags:- PHP CodeIgniter

Introduction In this article, we'll explore how to count the occurrences of user_id in a database table, group the results, and display the top 10 users with the most entries using CodeIgniter's Active Record query …

Last updated 1 month ago | 52 views

Tags:- PHP CodeIgniter

Introduction Creating image thumbnails and caching them in CodeIgniter can significantly improve page loading times and reduce server load. This guide will show you how to achieve this using CodeIgniter’s Image Manipulation Class. ✅ Step …

Last updated 1 month ago | 54 views

Tags:- PHP CodeIgniter

Introduction Resizing and cropping images on the fly in CodeIgniter is essential for managing image dimensions and optimizing performance. This guide will show you how to effectively use CodeIgniter’s Image Manipulation Class for resizing and …

Last updated 1 month ago | 45 views

Tags:- PHP CodeIgniter

Improving the performance of your CodeIgniter application is essential for providing a seamless user experience. Here’s a guide to help you optimize your CodeIgniter project. ✅ Step 1: Enable Caching Use CodeIgniter's built-in caching system …

Last updated 1 month ago | 37 views

Tags:- PHP CodeIgniter

Opening a PDF file in a new browser tab can enhance user experience, especially when dealing with reports or documentation. CodeIgniter, a popular PHP framework, makes this process straightforward. Here's a step-by-step guide to help …

Last updated 1 month ago | 50 views

Tags:- PHP CodeIgniter

The csrf_token is used for protection against Cross-Site Request Forgeries. This kind of attack takes place when a malicious website consists of a link, some JavaScript, or a form whose aim is to perform some …

Last updated 2 years, 10 months ago | 1010 views

Tags:- PHP Django CodeIgniter

Codeigniter | where_in  The where_in() allows you to pass an array in the where clause. It generates a WHERE field IN ('item', 'item') SQL query. Syntax: $this->db->where('condition'); <?php $ids = array('1', '2', '3'); $this->db->from('users'); $this->db->where_in('id', …

Last updated 5 years, 6 months ago | 8339 views

Tags:- CodeIgniter

Codeigniter | List Databases supported By Codeigniter Following Databases are supported by Codeigniter Frameworks: Database Name Drivers to support Codeigniter MySQL MySQL (deprecated), MYSQLI and PDO drivers Oracle oci8 and PDO drivers PostgreSQL Postgre and …

Last updated 5 years, 9 months ago | 2852 views

Tags:- CodeIgniter

Codeigniter | routes  Routing rules are defined in your application/config/routes.php file.    In it, you'll see an array called $route that permits you to specify your own routing criteria. Routes can either be specified using …

Last updated 5 years, 9 months ago | 2111 views

Tags:- CodeIgniter

CodeIgniter | What is helpers | Load helper file Helper is simply a collection of function in a particular category which helps you with tasks. The helper file can be loaded in controller constructor, some …

Last updated 5 years, 9 months ago | 6416 views

Tags:- CodeIgniter

Codeigniter | Set timezone To set default timezone in Codeigniter, you can add the date_default_timezone_set() function in your application/config.php or index.php file. date_default_timezone_set('your timezone');   <?php // India timezone date_default_timezone_set('Asia/Kolkata'); ?>  

Last updated 5 years, 9 months ago | 5130 views

Tags:- CodeIgniter

Codeigniter | SET or GET config variables The config set_item() & item() functions are work for SET and GET a config variable in codeigniter   In Codeigniter, by default, all config variables are located at the “application/config/config.php” …

Last updated 5 years, 9 months ago | 4476 views

Tags:- CodeIgniter

Codeigniter | The default URL pattern In CodeIgniter, URLs are designed to be search-engine and user-friendly. CodeIgniter uses a segment-based approach rather than using a "query string" based approach. http://www.example.com/user/edit/rakesh The default URL pattern in …

Last updated 5 years, 9 months ago | 2931 views

Tags:- CodeIgniter

Codeigniter | Types of error logging There are three message types in Codeigniter: Error Messages These are actual errors, such as PHP errors or user errors. Debug Messages These are messages that assist in debugging. …

Last updated 5 years, 9 months ago | 1998 views

Tags:- CodeIgniter