How to create multiple thumbnails from a single uploaded image in Codeigniter

Introduction Here in this tutorial I am going to show you how to create multiple thumbnails using PHP based Codeigniter framework from a single uploaded image. Codeigniter provides a file upload class that is used to upload single file or multiple files or even you can create thumbnail(s). This class also permits you to set various preferences, such as, destination…

How To Delete Multiple Rows From Table Using Codeigniter AJAX jQuery MySQL

Data Deletion In this tutorial I build an application using Codeigniter framework to fetch all records (for example, products) from MySQL database and display on the HTML table. I will put checkbox against each row on the table so that user will be able to select a particular row for deletion. I will also put a checkbox on the table…

Server Sent Events with CodeIgniter – Push Notifications

Introduction In this tutorial we will create an example on server sent events (SSE) with CodeIgniter – push notifications. Sometimes we face situations, where the application needs only one way communication, i.e., sending data from server to the client and for this Spring provides a simpler solution using Server Sent Events (SSE). SSE is a technology that allows you to…

CodeIgniter Login Logout With Remembr Me

Introduction This tutorial will show you how to login logout to/from an application with remember me functionality in CodeIgniter framework using set_cookie() function. You can use get_cookie() to retrieve the value for a given key from cookie and delete_cookie() function to delete from cookie for a given key. Sometimes you may need to remember username and password for few days…

CodeIgniter jQuery Photo Gallery

Introduction Here I am going to show you how to create photo gallery using PHP framework called Codeigniter. Photo gallery also known as image gallery, media gallery or photo album, which is used to manage your photos. You can view the images one by one from a list of images in a gallery. In this example I will use some…

Angular + CodeIgniter File Upload Example

Introduction Angular + CodeIgniter file upload example will show here how to upload a file to server. Here CodeIgniter will be responsible for storing the file into a server location and Angular will be used on UI side to interact with end users, who will browse and select a file for uploading. We will create CodeIgniter REST API and will…

Bootstrap Datatable CRUD using Codeigniter, MySQL, AJAX

Introduction In this post we will see Bootstrap Datatable CRUD using Codeigniter, MySQL and AJAX. We have also seen similar implementation in our previous post on DataTable CRUD Example using Codeigniter, MySQL and AJAX, but here we will use Bootstrap Datatable to implement the similar functionalities, where we have the following features: Loading data from MySQL database in HTML table Pagination…

Codeigniter 3 MongoDB 4 CRUD Example

Introduction Here you will see Codeigniter MongoDB CRUD example, where CRUD means Create, Read, Update and Delete. So basically you will perform creating new user, reading users/user, update existing user and deleting existing user operations into MongoDB. MongoDB is one of the widely used NoSQL(Not only SQL) database in market today. MongoDB is a document database with the scalability and flexibility that…

CodeIgniter Login Logout Example

Introduction Here you will see a post ot tutorial on CodeIgniter login logout example. So here I will show you how to use CodeIgniter’s session library to store data into session or fetch data from session. You will also see how to allow a user access private area of the application once user logs into the system. I will use…

Codeigniter Multi-Language Website

Introduction This post is about Codeigniter multi-language website, where user will have options to choose his/her own language for reading the text or information on the website. In this Codeigniter multi-language website, I will show how to change the text of the website in different locales or languages. I will use five different languages to make the website internationalization (i18n)….