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

How to Import SQL into a Database using PHP

June 12, 2017
Importing SQL script via programming will be useful when we need to create database structure dynamically. For example, if we provide APP or plugin to download and install from online, the dynamic SQL import will be used to setup the application database at the time of installing the APP or plugin. In this tutorial, we are going […]
This tutorial is added to PHP code section.

Dynamic Content Modal via AJAX with jQuery

May 21, 2017
In this tutorial, we are going to load dynamic content for a jQuery modal via an AJAX request. I have added an example for loading dynamic content by requesting a PHP file via an AJAX call. In this PHP file, I have declared a content array containing the dynamic data to be loaded to the jQuery […]
This tutorial is added to jQuery code section.

Calculate Sum (Total) of DataTables Column using Footer Callback

May 12, 2017
DataTables provides callback functions to manipulate header and footer HTML data and add value to the presentation. Using these callback functions we can do various modifications to the resultant table dynamically. We can add information that adds value to the header and footer portion of the DataTables. For example, we can add column specific header information, […]
This tutorial is added to jQuery code section.

Creating Web Calendar in PHP using jQuery AJAX

May 1, 2017
Creating a calendar interface is easy in PHP. There are many date functions available in core PHP, I have used them to create a calendar UI in a web application. The functions for getting days/weeks count, weekday names, previous/next month dates are handy in creating the calendar view. The weekday names are displayed in the calendar header. […]
This tutorial is added to jQuery code section.

How to Create Tooltips with Bootstrap

April 27, 2017
In HTML, we can add a title attribute for an element. The text specified in this attribute is shown as a tooltip on the mouse over event. In this tutorial, we are going to create tooltips by using Bootstrap and it has good additional features over the standard tooltip. We initialize the Bootstrap tooltip by referring […]
This tutorial is added to Bootstrap code section.

Tags using Bootstrap Tags Input Plugin with Autocomplete

April 22, 2017
Tags are a way to group and organize content. For example, in WordPress, it provides tags as an inbuilt taxonomy to group the content. In this tutorial, we are going to see how to add tags using “Bootstrap Tags Input” plugin. This is a jQuery plugin that provides Bootstrap UI to add tags using a […]
This tutorial is added to jQuery code section.

Simple PHP Chat using WebSocket

April 16, 2017
In this tutorial, we are going to create a simple chat application using WebSocket and PHP socket programming. The WebSocket is used to create a bridge to send or receive messages from the PHP chat server. In the web world, we generally use HTTP request methods to communicate between the client and server side. In this chat example, […]
This tutorial is added to PHP code section.

Bootstrap Autocomplete with Dynamic Data Load using PHP Ajax

April 14, 2017
In this tutorial, we are going to see how to load data dynamically for an autocomplete suggestion list, Bootstrap Typeahead input field. I use jQuery AJAX to call the PHP MySQL script to read the data from the database and autocomplete dynamically. The loaded data will be returned to the source of the Typeahead script to […]
This tutorial is added to jQuery code section.

How to Create Typeahead (Auto-Complete) Field using Bootstrap

April 12, 2017
In this tutorial, we are going to see how to create an auto-complete field using Typeahead Library. It is a Twitter Bootstrap library used to add the auto-complete feature to the form input field. By initializing the Typeahead library with the form input field, it shows a list of auto-complete suggestions while typing data in this […]
This tutorial is added to jQuery code section.

DataTables Server-side Processing using PHP with MySQL

April 11, 2017
DataTables is a jQuery library used to display the list of records in a HTML table with an intuitive interface. It includes features like search, pagination, sort, filter and more. In a previous article, we have seen a custom code for search and pagination for the list of records. Using DataTables we can limit the […]
This tutorial is added to PHP code section.

Twitter Like Profile Image Upload using jQuery AJAX

April 10, 2017
Twitter-like social media websites provide the photo upload feature with a list of action bar items, related to the upload process. These actions may be Insert New Photo, Update Photo, Cancel Upload or Remove Photo. On clicking the upload photo link, these options are shown to the user in a floating HTML element by using […]
This tutorial is added to PHP code section.

Pause Resume File Upload using JavaScript

April 7, 2017
In this tutorial, we are going to see how to implement file upload with pause and resume options using FineUploader. These options will be useful when you upload large size files consuming time to move it to the target. In that cases, the ongoing file upload process can be paused and resumed. FineUploader is a nice […]
This tutorial is added to PHP code section.

Importance of Quality Communication in Freelance

April 6, 2017
With people habitually getting tuned to the concepts of e-commerce and e-governance from all parts of the Globe, the future of web development seems to be quite promising. Before moving on, give yourself a thumbs up for choosing to be part of this brimming domain. You can set up a lucrative career as a PHP […]
This tutorial is added to PHP code section.

CRUD with MySQLi Prepared Statement using PHP

April 5, 2017
In this tutorial, we are going to see how to implement the CRUD operations using MySQLi / prepared statement. Using prepared statement is advantageous from many fronts like, performance and security. Using this method the query is compiled for the first time and the resource will be created and stored in a prepared statement. This […]
This tutorial is added to PHP code section.

REST API CRUD using PHP

April 4, 2017
In this tutorial, we are going to create a RESTful web service in PHP for performing the CRUD operations. In previous tutorials, we have seen examples for MySQL CRUD and for creating a RESTful web service using PHP. In this tutorial which is part of the REST API series, let us learn about how to provide a […]
This tutorial is added to PHP code section.

↑ Back to Top