PHP

Recent Tutorial

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.

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 was added to PHP.

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 was added to PHP.

↑ Back to Top