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 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.

jQuery AJAX Image Upload

April 3, 2017
When you use AJAx in the right sense, it will improve the user experience largely. In this article, let use see how to do image upload using jQuery via AJAX and add great experience. Showing preview without page refresh, showing the progress bar, adding preview with fade-in effect kind of minor feature additions to your image upload […]
This tutorial is added to jQuery code section.

Multiple File Upload using Fine Uploader

March 31, 2017
In this tutorial, we are going to see how to upload multiple files using PHP. I am using “Fine Uploader” a JavaScript, open source and free library. Also, fine-uploader has no dependencies. It is simple and easy to understand. It shows a progress bar during upload and preview for the uploaded files in a gallery form.  Using this […]
This tutorial is added to PHP code section.

REST API Search Implementation in PHP

March 30, 2017
In this tutorial, we are going to implement search using PHP REST API. I have created a RESTful web service in PHP to do the search on the database table data based on the keyword passed in the Querystring.  In a previous tutorial, we have seen how to create a RESTful web service in PHP. In this example, I […]
This tutorial is added to PHP code section.

Multi-language Support to Website using PHP

March 29, 2017
Creating a Multi-language (multilingual) web page is easy to implement. Multi-language websites are used to increase the volume of users supported for a website. Multi-language support can be done in various ways. We can have duplicate pages with the same content in required languages. We can add language configuration (localization) to change the text in […]
This tutorial is added to PHP code section.

↑ Back to Top