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

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.

Top 10 Skills to be a Successful Freelancer

March 25, 2017
The world of PHP freelancing is getting crunched day by day. I have been a PHP freelancer for long. Offlate I am seeing a strong emergence and influx of PHP freelancers. Getting ourselves on top of the game will be a stiff challenge. With an empire on hand to be ruled you’ve got many hats […]
This tutorial is added to PHP code section.

PHP Login with OTP Authentication

March 21, 2017
Login with an OTP code is a secure method for the user authentication process. In this method, a one-time password is generated dynamically and sent to the user who attempts login. OTP can be sent to the user’s email or his mobile phone. When the user enters the OTP code then the application will authenticate the […]
This tutorial is added to PHP code section.

AJAX Pagination with PHP

March 11, 2017
In this tutorial, we are going to see an example PHP code to add pagination to a list of records retrieved from database. I am using AJAX to fetch records for each page from database with jQuery. In a previous tutorial, we have seen already about AJAX pagination. In this example, I have added an option to […]
This tutorial is added to PHP code section.

Inline Insert using jQuery AJAX

March 8, 2017
In this tutorial, we are going to see how to do inline insert the HTML5 table data to a database table using jQuery and AJAX. HTML5 allows editing table cells by setting contentEditable attribute as true. After adding data to the table cells, we can pass the cell data to PHP via jQuery AJAX. In the PHP page, we create insert […]
This tutorial is added to jQuery code section.

How to Create WordPress Widget

February 28, 2017
Widgets are used to add content to a WordPress page programmatically without disturbing theme templates. The sidebar is the default area to add widget content. Also, we can register our own widget area and add widgets to it. WordPress contains some default widgets Search, Category, Tags and more. In WordPress admin, we can see Widgets […]
This tutorial is added to Wordpress code section.

↑ Back to Top