Live username availability check using jQuery Ajax and PHP
Posted in Ajax jQuery PHP

Live username availability check using jQuery Ajax and PHP

During user’s registration or sign up users need to enter a unique username in the form. So to prevent duplicate username in the database table you must check instantly the entered username is unique or not. Unique username help to…

Populate a dropdown list based on selection of another dropdown list using ajax
Posted in Ajax jQuery PHP

Populate a dropdown list based on selection of another dropdown list using ajax

This tutorial will you help to populate a dropdown list based on selection of another dropdown option using ajax. What actually we do here, let’s assume we have two dropdown list in a form. The first dropdown list is the…

How to unzip or extract zip file using PHP
Posted in PHP

How to unzip or extract zip file using PHP

Here is the simple code which will help you to unzip or extract zip file using php. In this tutorial we are using ZipArchive class of php to do so. ZipArchive is a built in class of PHP. ZipArchive was introduced in PHP…

How to create zip file using php
Posted in PHP

How to create zip file using PHP

One of the most popular and vastly used compression format is zip. Any number of files and folders can be stored within a zip file in a compressed size. “.zip” is the extension of the zip file. One of the…

How to upload file to server in PHP
Posted in PHP

How to upload file to server in PHP

Upload file to server in PHP is very easy. A simple PHP script can be used with a simple HTML form to allow users to upload file to server. You can upload any kind of file such as videos, pdfs,…

Posted in PHP

How to connect MySQL database using PHP

PHP is a well-known most popular scripting language, by which we can build website. But, to create a dynamic website one most important thing we required is database such as MySQL. Database is required to store data and we will…