CodeIgniter 4 Consume External REST APIs

CodeIgniter 4 REST API Client 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 APIs….

CodeIgniter 4 MySQL Login Logout Example

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 or variable across the application….

CodeIgniter 4 Generate PDF Report

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 built-in facility to generate pdf…

CodeIgniter 4 Generate HTML Table Data

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 to use CodeIgniter 4 framework…

CodeIgniter 4 Load Third Party Library

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 to purify HTML output, you…

How To Prevent SQL Injections In CodeIgniter 4

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. This malicious input is sent…

Run PHP Web Applications Without External Server

Introduction This tutorial will show you how to run PHP web applications without external server. So, you don’t need to use external server when you are developing or building your PHP based web applications in your development or local environment. I will show you here both how to run standalone PHP file and PHP web applications without using any external…

CodeIgniter 4 MySQL AJAX Nested Comment System

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 to maximum of five level…

CodeIgniter 4 MySQL 8 CRUD Example

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 CRUD Example using Codeigniter 4…

CodeIgniter 4 Error – framework needs extensions curl, intl

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 CLI (command line interface). One…