PHP Code Samples

Object-Oriented Poll System using PHP

March 27th, 2018
Object-oriented programming is used to design, develop and implement many simple as well as complex applications. We have already seen objec

Show Image Thumbnail by YouTube Video URL using PHP

February 27th, 2018
Thumbnails are used for preview a single or group of media entities in a single explorer window. By showing thumbnails, we can have a shortc

Star Rating with PHP and jQuery AJAX

January 22nd, 2018
Star rating is used to rank pages, articles or posts published to the end user. This will help the user to identify and shortlist quality co

Extract Content using PHP and Preview like Facebook

December 15th, 2017
While sharing URLs, if the client automatically extracts title and image to post it as preview, then that would be nice. In many social medi

PHP Login with OTP Authentication

March 21st, 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

Highlighting Keywords in Search Results with PHP

May 31st, 2016
Highlighting keywords in search results will help a user to identify appropriate results easily. In a previous tutorial, we have seen advanc

Advanced Search using PHP

May 30th, 2016
Advanced search provides more options to the user to filter and narrow down the search result. Advanced search will be convenient for the en

PHP Forgot Password Recover Code

March 23rd, 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

PHP Login Script with Remember Me

March 23rd, 2016
This post is outdated. See Secure Remember Me for Login using PHP Session and Cookies for creating a login with Remember Me. In a login scri

PHP MySQL Date Range Search with jQuery DatePicker

February 14th, 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

↑ Back to Top