Introduction Here I am going to build an example on how to select multiple rows from HTML table and delete these multiple selected table rows from MySQL database using CodeIgniter 4 with the help of AJAX technique in jQuery. In this tutorial I am going to fetch all records from the MySQL database and displaying…

Posted in Codeigniter

Codeigniter 4 AJAX MySQL Multiple Rows Deletion

Introduction In this example I am going to discuss how to create custom helper functions in CodeIgniter 4. Helpers in CodeIgniter helps you with tasks. Each helper file is simply a collection of functions in a particular category. There are URL Helpers, that assist in creating links, there are Form Helpers that help you create…

Posted in Codeigniter

CodeIgniter 4 Custom Helper Functions

Introduction In this tutorial, I will discuss about how to work with CodeIgniter 4 filters. These filters are controller filters. Controller Filters allow you to perform actions either before or after the controllers execute. Unlike events, you can choose the specific URIs in which the filters will be applied to. Incoming filters may modify the…

Posted in Codeigniter MySQL

CodeIgniter 4 Filters Example

Introduction In this tutorial I will show you how to call or consume external REST APIs in CodeIgniter 4 framework. REST is an acronym that stands for Representational State Transfer. I had shown how to build REST API CRUD Example earlier but here I am going to show an example on CodeIgniter 4 consume REST…

Posted in Codeigniter REST

CodeIgniter 4 Consume External REST APIs

Introduction This tutorial is about CodeIgniter 4 MySQL Login Logout example with MySQL database version 8. I will use CodeIgniter’s session library to store logged in user’s data. The session data get destroyed as soon as user logs out of the application. I am also going to create a custom config to use a key…

Posted in Codeigniter

CodeIgniter 4 MySQL Login Logout Example

Introduction The tutorial, CodeIgniter 4 Generate PDF Report will show you how to fetch data from MySQL database and generate PDF document using CodeIgniter 4 framework. Here I am going to use how to use TCPDF third party library with CodeIgniter 4 framework to put data into pdf document. CodeIgniter framework does not provide any…

Posted in Codeigniter MySQL

CodeIgniter 4 Generate PDF Report

Introduction The tutorial, CodeIgniter 4 Generate HTML Table will show you how to fetch data from MySQL database and generate HTML data using CodeIgniter 4 framework. You generally iterate through a list of records and put them into an HTML table for displaying to end users. But here I am going to show you how…

Posted in Codeigniter MySQL

CodeIgniter 4 Generate HTML Table Data

Introduction In this tutorial I am going to explain how to load third party libraries (or library) in CodeIgniter 4 framework. The third-party libraries are placed under app/ThirdParty folder in CodeIgniter 4 framework. You may need to use third party libraries while you are building applications using CodeIgniter 4 framework. For example, you may want…

Posted in Codeigniter

CodeIgniter 4 Load Third Party Library

Introduction It is necessary to prevent malicious code injection in your application and one of the injections is SQL injection. Here I am going to show you how to prevent SQL injections in CodeIgniter 4 based applications. A SQL injection attack consists of insertion of a SQL statement into your application via user input data….

Posted in Codeigniter MySQL

How To Prevent SQL Injections In CodeIgniter 4

The example CodeIgniter 4 MySQL AJAX nested comment system will show you how to build a threaded comment system using PHP based web framework CodeIgniter 4, MySQL 8 and jQuery with AJAX technique. This nested comment system is also called hierarchical comment system. This threaded or nested comment system in PHP AJAX accepts reply up…

Posted in AJAX Codeigniter jQuery MySQL

CodeIgniter 4 MySQL AJAX Nested Comment System

Introduction Codeigniter 4 MySQL 8 CRUD example will show you how you can build an application that performs CRUD operations using PHP based framework Codeigniter. CRUD is an acronym that stands for Create Read Update and Delete operations. It’s almost in every application that has user management system will need basic CRUD operations. Related Posts…

Posted in Codeigniter MySQL

CodeIgniter 4 MySQL 8 CRUD Example

Introduction You might have seen the error in CodeIgniter 4: The framework needs the following extension(s) installed and loaded: curl, intl. I will show you how here to solve this problem. This problem generally you will find in PHP based CodeIgniter 4 web framework in your environment when you try to run your application using…

Posted in Codeigniter MySQL

CodeIgniter 4 Error – framework needs extensions curl, intl