PHP Tutorial

PhpPot is a PHP tutorial. Tutorials site focuses on web technologies like PHP, jQuery, CSS and Wordpress. Our tutorials are simple and easy to understand with suitable examples and downloads. Welcome!

Recent Tutorials

jQuery Expand Collapse All

October 19, 2014
The expand collapse functions are used for expanding or collapsing menu structured or tree structured list of items. There are various plug-ins, UI effects in jQuery to provide expand collapse option. In this tutorial, we are using jQuery show and hide functions to expand/collapse list of menu items. View DemoDownload HTML Menu to be Expanded/Collapsed […]
This tutorial was added to jQuery.

Check Uncheck All Checkbox using jQuery

October 19, 2014
In this tutorial, we are going to see how to check or uncheck group of checkboxes using jQuery. We can use this feature in various scenarios like selecting multiple records to perform database update or delete. In this tutorial we have a simple example with less code for obtaining this feature using jQuery. View DemoDownload […]
This tutorial was added to jQuery.

jQuery Contact Form with Attachment using PHP

October 16, 2014
In previous tutorial we have seen how to send contact form email using PHP and jQuery. In this tutorial, we are going see the code for sending file attachments with the contact form email. We are using PHPMailer through SMTP for sending email. View DemoDownload Contact Form with File Attachment In this contact form we […]
This tutorial was added to jQuery.

PHP Contact Form with jQuery AJAX

October 15, 2014
PHP AJAX contact form is used to send contact information to the back end without page refresh. In this tutorial, we have given an example contact form for collecting user queries, feedback and etc. After client-side validation these form data will be sent to a PHP page through a jQuery AJAX call. After sending contact […]
This tutorial was added to jQuery.

jQuery Progress Bar for PHP AJAX File Upload

October 15, 2014
In this tutorial we are going display a progress bar during the AJAX file upload process using jQuery. We are using jQuery form library and $(form).ajaxSubmit() functions to submit form data to the PHP page. After progressing image upload we show the preview to the target selector. View DemoDownload File Upload Form showing Progress Bar […]
This tutorial was added to jQuery.

jQuery Password Strength Checker

October 13, 2014
In this tutorial we are going to validate password  strength using jQuery. We have regex patterns for alphabets numbers, and special characters. Password text will be matched with this pattern. Then, its strength will be validated based on the type of characters it contains. Live DemoDownload Password Strength Checking Form This form interface is used […]
This tutorial was added to jQuery.

Live Username Availability Check using PHP and jQuery AJAX

October 11, 2014
In this tutorial, we will see a PHP script to implement username live check feature using AJAX, jQuery and MySQL. This is a common and popular feature in most of the websites available online. While creating a user account, just after the user enters the username, an AJAX call will request the PHP page at […]
This tutorial was added to jQuery.

AJAX Add Edit Delete Records in Database using PHP and jQuery

October 10, 2014
In this jQuery AJAX tutorial we will learn about how to add, edit and delete records in MySQL database using PHP. We have used a jQuery handler which generates and sends AJAX call to the backend database along with the action requested. This handler responds the updated status back. If you are looking for a […]
This tutorial was added to jQuery.

Load Data Dynamically on Page Scroll using jQuery AJAX and PHP

October 8, 2014
In this tutorial, we are going to see about loading data into a webpage dynamically as the user scrolls it. We will be using jQuery and AJAX for dynamic load on scroll. We have already seen about how to load dynamic data into a form collection field. It was for a specific field alone and […]
This tutorial was added to jQuery.

PHP AJAX Multiple Image Upload using jQuery

October 6, 2014
This tutorial describes about how to upload multiple images using PHP via jQuery AJAX. It will be easy to follow this tutorial if you read single image upload. We will have multiple file input options in a form. Images to be uploaded will be chosen using those input fields. Then using jQuery AJAX the multiple […]
This tutorial was added to jQuery.

jQuery DIV Auto Load and Refresh

October 5, 2014
jQuery load method requests server pages and refreshes HTML selector with the page content. In this tutorial, we are going to auto load and refresh a DIV with periodic interval. This jQuery auto load tutorial will help to refresh content with very latest feeds, to load random advertisement banners and etc. Live DemoDownload jQuery Auto […]
This tutorial was added to jQuery.

jQuery Login Form Shaker

September 22, 2014
jQuery shake effect is applied to shake a HTML element either vertical or horizontal direction. In some website, we can see this shake effect on invalid login attempt. For implementing this effect we have to use jQuery UI library. In this tutorial we are going see how to apply jQuery shake effect on a login […]
This tutorial was added to jQuery.

Command Line PHP

August 25, 2014
Using PHP though command line is possible and we will see about how to do it in this tutorial. Generally, PHP is used for creating web-based applications. There are occasions where PHP script can be used apart from regular web applications such as, automatic mail sending, cron job for getting backup, automatic log tracking and […]
This tutorial was added to PHP.

PHP jQuery Dynamic Textbox

July 21, 2014
This tutorial helps to add or remove textbox dynamically using jQuery and PHP. It also describes how to read the values of dynamically created textboxes and save them to the database. Save textbox HTML in separate file. Load and append dynamic textbox. Remove textbox item on delete event. Read and insert data to database on […]
This tutorial was added to PHP.

jQuery AJAX Pagination

July 10, 2014
In this tutorial, we are going to see simple code for pagination using jQuery AJAX and PHP. This code will have first, last, previous, next and other pagination links. On clicking each link it invokes AJAX handler to request for a limited page results from database. The steps for implementing jQuery AJAX pagination are, Sending […]
This tutorial was added to PHP.

↑ Back to Top