Using multiple versions of jQuery on same page

This example shows how we can use multiple versions of jQuery on the same page. It’s simple and very easy to use multiple versions using jQuery.noConflict(true). This jQuery.noConflict(true) was introduced in jQuery version 1.1. There are various reasons behind using the multiple versions of jQuery. Reasons are like you have already used a particular version […]

Drag and Drop example with jQuery

Introduction This tutorial shows an example on how to drag-and-drop the item to the specific location. For drag-and-drop functionality please refer to http://jqueryui.com/ Usage of Drag and Drop Drag-and-Drop can be very useful to interact with the web application. We often use drag-and-drop features in many areas like     moving email from inbox to different […]

Email address validation example in PHP

This is an example how to validate email address in PHP. We need to validate email address in most of the applications now a days because in every application we need to have email sending functionality for various reasons like username reset, password reset, email reset etc. Below function checks how to validate the email […]

Dependent dropdown example in PHP, MySQL

This tutorial shows how to create dependent dropdown in PHP and MYSQL. This is also called cascaded dropdown. This tutorial uses JavaScript to submit the form automatically when the first dropdown value is selected. Sometimes we need to create such a cascaded dropdown when we need to select some value in the second dropdown based […]

Sort table data in ascending or descending order in Codeigniter

This tutorial shows how to sort table data either in ascending or descending order by clicking on the table column header in Codeigniter 2.1.x. There are no. of client side ajax based jquery or javascript table sorter plugins are available in the market. But here I will show you how you can achieve the the […]

Thumbnail creation example in Codeigniter

Thumbnail creation example in Codeigniter 2.1.4. There is a file upload class, in codeigniter, which permits you to upload the file or files and also we can create thumbnail for the uploaded file as per our desired size. This class also permits you to set various preferences such as destination where the file and thumbnail […]

File upload example in Codeigniter 2.1.4

File upload example in Codeigniter 2.1.4. There is file upload class, in codeigniter, which permits you to upload the file or files. This class also permits you to set various preferences such as destination where the file will be uploaded, restrition on file types, restriction on file size, whether a file name should be encrypted […]

Setup HMVC with Codeigniter 2.1.4

This is an example on HMVC Codeigniter 2. 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 […]

Scroll to top