PHP natsort() example

This tutorial shows an example how to sort an array using natsort() function available in PHP. The natsort() function sorts an array using natural order sorting algorithm. This function implements a sorting algorithm that orders alphanumeric strings in the way a human being would read while maintaining key/value associations.

Infinite dynamic Multi-level nested category with Codeigniter and MySQL

In my previous tutorial Infinite dynamic Multi-level nested category with PHP and MySQL , I wrote how to build a nested multilevel categories. So I have again written the same tutorial but this time with Codeigniter 3 framework. Please follow below steps to find this example working Prerequisites Netbeans 8.1 XAMPP Continue Reading…

Setup HMVC with Codeigniter 3

HMVC stands for Hierarchical Model View Controller. Modular Extensions make the Codeigniter PHP framework modular. Modules are groups of independent components, typically model, controller and view, arranged in an application modules sub-directory that can be dropped into other Codeigniter applications. This allows easy distribution of independent components (MVC) in a Continue Reading…