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 Image Slider

April 22, 2015
In this tutorial we are going to see an example of image slider using jQuery. In previous tutorial we have seen already how to run jQuery slide show. In this example we are using jQuery UI library to create image slider. In this image slider we are using slide effect of this library. View DemoDownload […]
This tutorial was added to PHP.

Calculating Hours Difference in PHP

April 15, 2015
In PHP, there are many ways to calculate the difference between two dates. In this tutorial, we are using PHP datetime functions to calculate the hours difference between two dates. In this example we are start and end dates from the user. And then, we use strtotime() to convert the date string into timestamp to […]
This tutorial was added to PHP.

Clone HTML using jQuery

March 24, 2015
In this tutorial we are going to see how to copy and insert HTML element dynamically. In previous tutorial we have added HTML form elements dynamically by using jQuery load() function. In this example, we are using jQuery clone() to copy html element. And then by using jquery insert function we are adding element to […]
This tutorial was added to jQuery.

Toggle HTML with Javascript

March 18, 2015
In this tutorial we are going to see how to create toggle effect using Javascript without jQuery. In previous tutorial we have seen about toggling HTML using jQuery. This example code is preferable when the user don’t want to load the entire jQuery library for toggling HTML. View DemoDownload In this example we are using […]
This tutorial was added to jQuery.

Toggle HTML with jQuery

March 17, 2015
In this tutorial we are going to see how to toggle HTML text element using jQuery. In previous tutorial we have seen horizontal expand/collapse with jQuery toggle(). In this example, we have shown list of limited mail options in a left menu with more/less button. On the click event of this button, we are showing/hiding […]
This tutorial was added to jQuery.

jQuery Mega Menu

March 14, 2015
Mega menu is used to simplify user navigation by covering maximum list of items in a menu dropdown. Using this we can avoid multiple levels of menu navigation. In previous tutorial we have seen multi-level menu using CSS and jQuery. In this tutorial we are going to see how to show jQuery mega menu. View […]
This tutorial was added to jQuery.

Sticky Header using CSS

March 12, 2015
Sticky header in a page remains in a fixed position while scrolling up and down. This will be useful to show the header content always visible even we scroll the page. In this tutorial we are going to see how to show sticky header on page scroll. We are using CSS styles to put sticky […]
This tutorial was added to CSS.

PHP MySQL Inline Editing using jQuery Ajax

March 5, 2015
In this tutorial we are going to see about PHP inline editing using jQuery AJAX. Previously in AJAX Add Edit Delete tutorial we have done the same by using jQuery show/hide. In this example, we are using HTML contenteditable property to handle inline editing. we set this property as true which will allow user to […]
This tutorial was added to PHP.

jQuery Table Row Column Highlight on Hover

February 28, 2015
This jQuery tutorial helps to highlight table row and column on the mouseover event. There are several event handling functions in jQuery to highlight table row/column. In this tutorial we are using jQuery hover() to pass functions to be called on mouseover, mouseout events. These functions are used to add/remove css class selectors to highlight […]
This tutorial was added to jQuery.

WordPress XML-RPC Update Services to Ping

February 26, 2015
When we post a new or update an existing article in our blog, we should use the “WordPress Update Services” to inform other sites and services. Update services are tools that can be used for external notification. WordPress automatically notifies update services by XML-RPC ping each time when the blog is updated. Subsequently, those update […]
This tutorial was added to Wordpress.

PHP Wizard Like Registration

February 15, 2015
Wizard like registration separates registration fields into groups. These group of fields can be seen using a tab like navigation. In previous tutorial we have seen simple PHP registration without wizard. In this example we have three tabs to separate the registration form fields. User can navigate via the registration wizard using previous and next […]
This tutorial was added to PHP.

jQuery Sidebar Expand Collapse

February 14, 2015
We have seen variety of jQuery expand collapse in this tutorial. Recently, we have seen jQuery horizontal expand collapse for header menu. In this tutorial we have an example to expand/collapse sidebar menu. We are showing list of main menu items in a list. Onclicking this main menu the corresponding submenu list will be expanded […]
This tutorial was added to jQuery.

jQuery Image Slideshow

February 13, 2015
In this tutorial we are going to display image using jQuery auto slideshow. In previous tutorial we have seen example for DIV auto load and refresh using jQuery. We are having list of images to be displayed in a slideshow. jQuery fadeIn()/fadeOut() functions are used to show image slides one by one. View DemoDownload HTML […]
This tutorial was added to jQuery.

Header Menu Horizontal Expand Collapse Using jQuery

February 10, 2015
jQuery menu expand collapse can be done by using various functions like show(), toggle() and more. In previous tutorial we have seen multi-level menu dropdown to expand collapse submenu items. In this tutorial we are using jQuery toggle() by passing direction parameter. This parameter controls the direction of menu toggling animation. View DemoDownload Expandable Header […]
This tutorial was added to jQuery.

jQuery Dependent DropDown List – Countries and States

February 8, 2015
In this tutorial we are going to see how to change states dropdown list option based on the selected country name. In previous tutorial we have seen countries search with jQuery autocomplete. In this example, we have two dropdown for listing countries and states. On changing countries dorpdown values, the corresponding states dropdown values will […]
This tutorial was added to jQuery.

↑ Back to Top