PHP Tutorial

PhpPot is a PHP code and tutorials blog passionately published by Vincy. PHP, jQuery, WordPress, MySql, Ajax are the main technologies in focus here. You can find code to make your web applications better. Code present here are simple and easy to use with suitable examples, demo and downloads. Welcome!

Recent Code and Tutorial

DropDown with Search using jQuery

January 12, 2016
Search is a useful feature for an HTML drop-down list. Especially it will increase user convenience to select items from the drop-down having a long list. In this tutorial, we are going to list country dropdown with a search option. In a previous tutorial, we have seen countries and its dependent dropdown list. In this […]
This tutorial is added to jQuery code section.

WordPress Featured Image

January 7, 2016
In this WordPress tutorial, we are going to see what is featured image and how to add this to a post. Featured images are used to have a rich look and feel. They can be used to display posts like a gallery. For adding featured image to the posts we have to let the theme […]
This tutorial is added to Wordpress code section.

jQuery Color Picker – Predefined Colors

December 8, 2015
This tutorial is to see how to do simple color picker using jQuery. In a previous tutorial, we have seen date picker by using jQuery UI Library. There are various jQuery plugins providing color picker feature. This tutorial gives a simple example code as a guideline to start writing your own jQuery color picker plugin. […]
This tutorial is added to jQuery code section.

PHP RESTful Web Service

October 18, 2015
Representational State Transfer (REST) is an architecture style. Web services that follow the RESTful principles are RESTful services. In RESTful services, URIs are used to access the resources. Data and functions are called resources in the RESTful glossary. So eventually data and function are what we will access via services. In this RESTful web services […]
This tutorial is added to PHP code section.

CSS Geometric Shapes

October 17, 2015
Following CSS styles will come handy when you want to draw geometric shapes with CSS without using images. Most of them are done using CSS3 and so check if you browser supports it. Circle .circle { width: 100px; height: 100px; background: #07CAF3; -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px; } Oval .oval { height: 200px; width: […]
This tutorial is added to CSS code section.

PHP Cache for Dynamic Web Pages

October 16, 2015
Caching a dynamic web page is very important. When developing a website using PHP, the cache is often overlooked. Cache helps to increase the speed of the website response. In the web, nanosecond performance improvement can make wonders. If your site depends on search engine traffic, then cache should be your foremost priority. Google considers […]
This tutorial is added to PHP code section.

Error Establishing a Database Connection WordPress Fix

October 14, 2015
How to fix the “Error Establishing a Database Connection” error in WordPress. This is one of the most dreaded error in WordPress. In this WordPress tutorial, we will see about the causes of this WordPress error and how to fix it. This error is frustrating for both the users as well as the WordPress blogger. […]
This tutorial is added to Wordpress code section.

WordPress Child Theme Template

October 6, 2015
A child theme inherits the styles and functionality of an another existing theme which becomes the parent theme. Child themes are the best way to modify an existing theme. In this WordPress tutorial lets us learn about creating a child theme template with an example. Why should we use a WordPress Child Theme? Following are […]
This tutorial is added to Wordpress code section.

PHP Shopping Cart by jQuery Drag and Drop

September 20, 2015
In this tutorial, we are going to see a shopping cart example. In this example, we are adding products to cart by using drag and drop. In a previous tutorial, we have seen PHP shopping cart with jQuery AJAX. In this example, we are having draggable product items. We are adding these items to cart […]
This tutorial is added to PHP code section.

jQuery Menu Slider

August 25, 2015
This jQuery menu slider used to move menu links horizontally on hover. It shows a list of menu labels and highlights active menu with the screen shot. In a previous tutorial, we have seen about how to highlight an active menu item. In this slider example, we have used a jQuery UI sliding function to […]
This tutorial is added to jQuery code section.

Paypal Payment Gateway Integration in PHP

August 21, 2015
In this tutorial, we are going to see about how to integrate payment gateway in PHP via Paypal. We are going to see an example code in PHP for payment integration. In this example, we are using Paypal sandbox (test) mode to check payment flow before going live. Paypal Payment Integration Steps Login / Sign […]
This tutorial is added to PHP code section.

jQuery Sliding Text on Images

August 4, 2015
In this tutorial, we are going to display text on image with a sliding box on the mouse-over event. In the previous tutorial, we have seen sliding images using jQuery effects. In this example, we are using jQuery and CSS to show the sliding text on images. We are using the jQuery slideToggle() function to […]
This tutorial is added to jQuery code section.

jQuery AJAX Add Edit Modal Window

July 26, 2015
In this tutorial, we are going to see how to do AJAX add/edit operations by showing jQuery modal form. In a previous tutorial, we have seen PHP crud using jQuery AJAX. In this example, we are displaying add and edit forms in a modal dialog. After performing Add/Edit, the form will be closed automatically. The […]
This tutorial is added to jQuery code section.

jQuery Form Validation with Tooltip

July 20, 2015
In this tutorial, we are validating a contact form and showing error message by using jQuery tooltip. In a previous tutorial, we have seen an example of jQuery AJAX contact email with form validation. In this jQuery tooltip example, we are highlighting form fields to show validation results. And then we are calling tooltip function […]
This tutorial is added to jQuery code section.

jQuery Image Carousel

July 6, 2015
This tutorial is used to create image carousel using jQuery. In a previous tutorial, we have seen jQuery image slider to turn images with periodically. In this example, we have four images for running this carousel.We are showing previous and next icons on the mouse-over event of the images to be scrolled back and forth. […]
This tutorial is added to jQuery code section.

↑ Back to Top