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

Extract Content using PHP and Preview like Facebook

December 15, 2017
While sharing URLs, if the client automatically extracts title and image to post it as preview, then that would be nice. In many social media websites like Facebook and LinkedIn we can see that feature. They extract title and meta information on sharing links. In this tutorial, we are going to extract the page title, […]
This tutorial is added to PHP code section.

Skills Every PHP Freelancer Must Have

December 14, 2017
Before diving in, it is necessary that you check your equipments. An unequipped jump could simply agonize you at any point. Here is a technically drafted pattern of the skill set you will require to become a successful PHP freelancer. This article is part of a series where I write on excelling as a freelancer […]
This tutorial is added to PHP code section.

PHP Shopping Cart with PayPal Payment Gateway Integration

December 13, 2017
Shopping cart checkout with payment gateway integration (PayPal) is a most wanted article for the PHP shopping cart coders. In this article, we are going to integrate PayPal payment gateway with the shopping cart. In a previous tutorial, we have seen how to add a product to the cart from a gallery. After adding products to […]
This tutorial is added to PHP code section.

Freelancer’s 5 Point Guide to Excellent Client Satisfaction

December 12, 2017
My life as a PHP freelancer depends entirely on client satisfaction. Getting a new client every other day is quite impossible, but a lot easier thing is client retention. It is critical for a freelancer and it entirely depends on the client satisfaction. This article is part of a series where I pen down my […]
This tutorial is added to PHP code section.

Sticky Social Icons in Sidebar using jQuery

November 18, 2017
Sharing webpage to the social media is used to gain enormous reach for our webpage. So adding social icons to the webpage is very important to let the readers share your article. Readers want to share the website at any moment while they are reading your page. So, it would be better to give high visibility […]
This tutorial is added to jQuery code section.

Enriched Responsive Shopping Cart in PHP

November 2, 2017
In this tutorial, we are going to design a responsive shopping cart with enriched look and feel. In previous tutorials, we have seen many examples for the PHP shopping cart. In this example, I designed the shopping cart UI to be responsive for the various screen size. I created product gallery to display products using […]
This tutorial is added to PHP code section.

How to Build a Persistent Shopping Cart in PHP

October 26, 2017
A persistent shopping cart application will be used to preserve the user’s cart item until the user processes checkout or clears the cart over different sessions and also via multiple devices. In a previous tutorial, we have created a session-based shopping cart by storing cart info in user session using PHP SESSION array. Soring cart items […]
This tutorial is added to PHP code section.

Bouncing Ball Animation using jQuery

October 23, 2017
This article is to create a bouncing ball animation effect using jQuery. Just a quick fun post. This animation effect is created based on different parameters like the bouncing count, speed and etc. In a previous tutorial, we have seen more examples of working with jQuery animation. For example, jQuery background animation on page scroll, […]
This tutorial is added to jQuery code section.

Responsive Image Upload using jQuery Drag and Drop

October 20, 2017
While uploading image files using drag and drop method the drop area should be responsive based on the viewport. In this tutorial, we are going to create a responsive container to upload multiple images using drag and drop. In a previous tutorial, we have seen example code for uploading multiple images by choosing files using regular file […]
This tutorial is added to jQuery code section.

Meme Generator using jQuery

October 12, 2017
In this article, we are going to see the code for generating Meme images using jQuery. In this example, I have provided options to upload a meme image and to add text on top of the image. I have used jQuery UI library to change the position of the meme text over the background image […]
This tutorial is added to jQuery code section.

How to Draw Path on Map using Google Maps Direction API

October 10, 2017
In this tutorial, we are going to see how to draw the path on map between two locations using Google Map Javascript API. This API provides Direction service to draw route between locations. This direction service requires the start and the endpoint of the route to be drawn. It responds the direction resource which will […]
This tutorial is added to PHP code section.

Draw Path using Google Maps Javascript API

September 27, 2017
In this tutorial, we are going to see how to draw a path between multiple locations on a map using Google Maps Javascript API. In a previous tutorial, we have seen example code for adding markers on the map layer. In this example, I add markers to point locations and connect the points by drawing […]
This tutorial is added to PHP code section.

jQuery Ajax Image Resize with Aspect Ratio

September 26, 2017
In this tutorial, we are going to see how to resize the uploaded image with the aspect ratio. The aspect ratio will be calculated by using the dimensions of the original image. Based on this aspect ratio the width or height of the thumbnail image will be scaled.  In this tutorial, I have used jQuery […]
This tutorial is added to jQuery code section.

Add Markers to Show Locations on Google Maps

September 25, 2017
Google Map Javascript API provides geographical data based on the request sent via the client side script. In a previous tutorial, we have seen how to get the Google Map resource and to plot the current location of the user. In this tutorial, we are going to see how to add markers to show an […]
This tutorial is added to PHP code section.

jQuery Custom Dropdown with Checkbox

September 23, 2017
In this tutorial, I will present about creating a custom dropdown box which has list of options with checkboxes. In this custom UI field, multi-select option is also available. I have managed to develop this with just few lines of code by using jQuery functions like toggle(), show() and hide(). In this example, I have […]
This tutorial is added to jQuery code section.

↑ Back to Top