PHP Code Samples

Highlighting Keywords in Search Results with PHP

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

May 31st, 2016

Advanced Search using PHP

Advanced search provides more options to the user to filter and narrow down the search result. Advanced search will be convenient for the en ...

May 30th, 2016

PHP MySQL Date Range Search with jQuery DatePicker

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

February 14th, 2016

User Login Session Timeout Logout in PHP

This PHP tutorial is used for setting user login session expiration time for the logged-in user. Once, this time is elapsed then the user no ...

November 24th, 2014

PHP CRUD with Search and Pagination

Making a CRUD system is one of the prime and regular requirements in most of the software. It is nothing but the collection functionalities ...

November 2nd, 2014

Command Line PHP

Using PHP through the command line is possible and we will see how to do it in this tutorial. Generally, PHP is used for creating web-based ...

August 25th, 2014

Send Email in PHP using Gmail SMTP

Sending email is a simple and straightforward task in PHP. Yes! trust me. For some beginners and sometimes even the experienced too struggle ...

December 5th, 2013

PHP cURL

cURL – Client URL library is used to communicate with different types of servers with protocols FTP, HTTP, telnet, gopher and more. In ...

October 18th, 2013

PHP Change Password Script

The change password feature in a web application is to let the user change their old password at some periodic interval. It makes the user p ...

September 15th, 2013

PHP Mail

PHP provides a mail() function for sending simple mail using PHP scripts. For that, the mail() function requires three arguments compulsoril ...

June 4th, 2013

↑ Back to Top