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

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.

jQuery Active Menu Highlight

June 21, 2015
There are various ways to highlight the active menu item. In this tutorial, we are using jQuery and CSS for adding menu highlighting style dynamically. In a previous tutorial, we have seen how to create scrolling menu using jQuery. In this example, we have added menu highlight effects on the click event of the menu […]
This tutorial is added to jQuery code section.

jQuery Scrolling Menu

June 11, 2015
Scrolling menu bar over the page scroll will increase menu usability. It helps a user to reach menu area easily. In a previous tutorial, we have seen about how to scroll a floating contact form. In this example, we are having a fixed positioned scrolling menu. While navigating through this menu we have added jQuery […]
This tutorial is added to jQuery code section.

Generate PDF from MySQL Data using FPDF

June 8, 2015
In this tutorial, we are going to see how to generate PDF from MySQL table by using FPDF library. In a previous tutorial, we have seen about simple PDF generation from a text file content by using this library. In this example, we read MySQL table data by using PHP. And then we are calling […]
This tutorial is added to PHP code section.

Shopping Cart with Multi-Tab Wizard using jQuery AJAX

June 6, 2015
In this tutorial, we are going to see a wizard like a shopping cart. In a previous tutorial, we have seen shopping cart with jQuery AJAX. In this wizard-like shopping cart example, we separate products and cart items by using tabs. While adding products, the cart tab is updated with the cart item count. View […]
This tutorial is added to PHP code section.

PHP PDF Generation using FPDF

May 25, 2015
In this tutorial, we are going to generate PDF from text file data using PHP FPDF library. In this library, there are features to add PDF page, set font, create grid and more. In this example, we are having a text file containing toys detail. We are reading this file content and show it in […]
This tutorial is added to PHP code section.

↑ Back to Top