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

File Size Validation using jQuery

December 15, 2014
In this tutorial we are going to see form file input validation using jQuery. In previous tutorial we do this validation using PHP to check if the file input is empty or not. In this jQuery example, we are validating file size before submitting it for upload. If the file size exceeds 2 MB then […]
This tutorial was added to jQuery.

PHP Captcha using jQuery AJAX

December 10, 2014
Captcha code in a form is used for ensuring that the form is submitted with manual intervention without any tools or programs. In previous tutorial we have seen about how to add captcha in PHP. In this tutorial, we are using jQuery AJAX for getting captcha image from PHP. Using jQuery we can also refresh […]
This tutorial was added to jQuery.

Read Facebook Data via Graph API using PHP

December 8, 2014
In this tutorial we are going to read data from Facebook by using Graph API. This is an HTTP based API using which we can post and get data to and from Facebook social graph. In this example we are going to get some basic data like id, name and profile-picture by sending Facebook profile […]
This tutorial was added to PHP.

jQuery Image Rotate

December 3, 2014
In this tutorial we are going to rotate HTML image element by using jQuery. In previous tutorial we have seen about how to do background image animation in jQuery. In this image rotation example we are using jQuery animate function. Using this function we are controlling the image transform property. View DemoDownload HTML Code with […]
This tutorial was added to jQuery.

jQuery Background Image Animation

December 3, 2014
In this tutorial we are going to do HTML background image animation by using jQuery and CSS. In previous tutorial we have seen about HTML div auto load using jQuery AJAX for banner animation. In this tutorial we are animating image background by scrolling in vertical or horizontal direction. We are doing this by changing […]
This tutorial was added to jQuery.

HTML Element Hover Fade Effect using CSS

November 28, 2014
In previous tutorial we have seen about how to apply fade-in fade-away effect on an HTML element using jQuery. In this tutorial we are going to replicate the same effect without using jQuery or any other Javascript functions. In this example we are doing this in CSS by changing the opacity with hover property. By […]
This tutorial was added to CSS.

Simple Hover Fade Effect Using jQuery

November 28, 2014
In this tutorial we are going to apply fading effect on an image element by using jQuery. In previous tutorial we have seen the list of jQuery fading methods. In this example we are using fading effect on the mouse-over and mouse-out events of the image elements. In this event the jQuery fadeTo() function is […]
This tutorial was added to jQuery.

jQuery Fading Methods

November 28, 2014
In this tutorial we are going to know about the list of available jQuery fading methods. There are four methods in jQuery to create fading effects on an HTML element. These are, fadeIn() – Displaying element to be faded. fadeOut() – Hiding element with fade-away effect. fadeTo() – Fading element by changing opacity fadeToggle() – […]
This tutorial was added to jQuery.

Moving DIV Element using jQuery

November 28, 2014
In this tutorial we are going to learn how to move a DIV element to the top, right, bottom, left direction using jQuery. In previous older tutorials we have seen about jQuery DIV drag and drop animation. We are having icons to trigger jQuery function to move the DIV element to the corresponding direction. In […]
This tutorial was added to jQuery.

Dynamic Content Load using jQuery AJAX

November 26, 2014
Loading a webpage with dynamic content is very easy by using jQuery and AJAX. We have already seen about how to load content dynamically on page scroll in a previous jQuery tutorial. In this tutorial, we have stored page contents in database. We are displaying page titles as header menu on top the content area. […]
This tutorial was added to jQuery.

User Login Session Timeout Logout in PHP

November 24, 2014
This PHP tutorial is used for setting user login session expiration time for the logged-in user. Once, this time is elapsed then the user no longer access the authenticated pages of the application. In previous tutorial, we have created session variables once an user logged in to our application. In this tutorial we are going […]
This tutorial was added to PHP.

User Activation Email Sending Script in PHP

November 23, 2014
In this tutorial we are going to see how to send user activation email after user registration. In previous tutorial, we have seen the code for adding new user to our database with a registration form example. In this example, we are using the same code with slight modification. We have added duplicate email validation […]
This tutorial was added to PHP.

PHP User Registration Form

November 22, 2014
In this tutorial we are going to see an example for creating new user registration form. In previous tutorial, while seeing PHP form validation we have seen a registration form example. In this example, first we are validating registration form input validation. And then, we are adding form data to the user table after successful […]
This tutorial was added to PHP.

jQuery Drag and Drop Image Upload

November 21, 2014
In this tutorial, we are going to upload image files by drag and drop from source to destination. We have seen already about how to do drag and drop element by using jQuery. In this tutorial we are having jQuery event handlers which will be triggered based on the drag-drop events. On dropping image files, […]
This tutorial was added to jQuery.

PHP CRUD with Search and Pagination using jQuery AJAX

November 20, 2014
This tutorial is for doing database CRUD operations with search and pagination feature by using jQuery and AJAX. In previous tutorial we have seen the CRUD,search and pagination without AJAX. In this example we are creating jQuery AJAX functions for sending CRUD action request. With this request we are passing the AJAX parameters containing search […]
This tutorial was added to PHP.

↑ Back to Top