PHP

Recent Tutorial

PHP MySQL REST API for Android

February 8, 2017
PHP REST API backed up with a MySQL database is a very common schematic of an Enterprise mobile application. When the scenario requires data to be stored in a centralize manner, then this architecture should be used. Otherwise, the local database in the mobile can be used for storage and retrieval of information.  In this tutorial, we […]
This tutorial was added to PHP.

PHP Search and Pagination using PDO

February 3, 2017
Search is an important functionality of any information-centric application. Pagination is an integral part of the display when voluminous records are displayed. In this tutorial, we are going implement search and pagination for a list page using PDO. In a previous tutorial, we have already learned how to do database CRUD using PDO. In this […]
This tutorial was added to PHP.

PHP PDO CRUD

December 30, 2016
In this tutorial we are creating an example to do database operations Create, Read, Update and Delete (CRUD) in PHP using PDO connection. In a previous tutorial, we have already learned about how to do database CRUD using MySQLi In this example, we have taken a posts table to do CRUD via PDO. The SQL script […]
This tutorial was added to PHP.

Facebook Like Header Notification in PHP

November 22, 2016
In Facebook like social networking websites, we can see notification alert in the page header. In this tutorial, we are going to add such header notification to notify the user about latest data. This will be helpful to keep the user updated by notifying what is new. In this example, we have a notification icon […]
This tutorial was added to PHP.

How to Become a Full Time Freelance PHP Developer and Consultant

June 3, 2016
When someone, simply affluent, could be smart enough in hiring you for the skills and imagination that he probably doesn’t possess, what stops you from being smart for your own good?  Perhaps you would have been waiting for a push. If yes, this is it. Having stuck in an insipid workplace with passion and creativity […]
This tutorial was added to PHP.

Highlighting Keywords in Search Results with PHP

May 31, 2016
Highlighting keywords in search results will help a user to identify appropriate results easily. In a previous tutorial, we have seen advanced search in PHP. In this example, we are highlighting multiple keywords in search results. We are searching database title and description to check if the keyword has occurred. If match found we highlight those […]
This tutorial was added to PHP.

Advanced Search using PHP

May 30, 2016
In PHP advance search we have many options to filter MySQL data. Using these options we are creating database query condition to make an advanced search. In a previous tutorial, we have seen simple PHP search to filter MySQL records which have only one field to enter the search keyword. In the advanced search form, […]
This tutorial was added to PHP.

PHP Forgot Password Recover Code

March 23, 2016
In this post, we are going to see an example to learn how to recover the forgot password. In this example we have a forgot password form to get the username or email to recover the password. After form submits, we are sending password recovery email to the user. The Password recovery email has a […]
This tutorial was added to PHP.

PHP Login Script with Remember Me

March 23, 2016
In a login script, remember me feature is used to preserve the login name and password entered by the user. And it can be populated in the login form at the time of login. It minimizes the user effort by preventing to enter login details for each time. Some days before, we have seen PHP […]
This tutorial was added to PHP.

Sorting MySQL Column using PHP

March 9, 2016
In PHP we can sort database results based on a column field using MySQL order by clause. Previously, we have seen about how to change the MySQL row order using jQuery. Now, we are going to see an example to sort UI results by clicking on the column name in the header. We have a […]
This tutorial was added to PHP.

PHP Time Ago Function

March 1, 2016
This PHP tutorial is for converting given date into a time ago string like 2 hours age, 3 years ago. In a previous tutorial, we have seen date format conversion by using PHP inbuilt functions. In this example, we are having a custom function to change a date format into time ago string. View Demo […]
This tutorial was added to PHP.

AJAX Cart Edit in PHP Shopping Cart

February 29, 2016
This Shopping cart tutorial is providing cart edit feature by using jQuery AJAX. In a previous tutorial, we have seen simple shopping cart. This edit feature allows changing the existing cart item quantity in session. In this example, we are showing item quantity in a text box to allow edit. This cart edit function is […]
This tutorial was added to PHP.

Responsive PHP Shopping Cart

February 29, 2016
In this tutorial, we are going to create a shopping cart gallery page with responsive design using PHP. In a previous tutorial, we have seen shopping cart with multi tab. With a responsive design, the shopping cart page will be fluid to fit into any viewport. In this example, we are achieving this responsive design […]
This tutorial was added to PHP.

PHP MySQL Date Range Search with jQuery DatePicker

February 14, 2016
In this tutorial, we are going to see how to search database records date between two given ranges. It will return the filtered results from the database based on these dates input. In this tutorial, we are using jQuery DatePicker to choose the dates for the search options. These date inputs are used to form […]
This tutorial was added to PHP.

PHP RESTful Web Service

October 18, 2015
Representational State Transfer (REST) is an architecture style. Web services that follow the RESTful principles are RESTful services. In RESTful services, URIs are used to access the resources. Data and functions are called resources in the RESTful glossary. So eventually data and function are what we will access via services. In this RESTful web services […]
This tutorial was added to PHP.

↑ Back to Top