nl2br() line break in PHP with example

The nl2br() line break in PHP is an inbuilt function provided by PHP. It breaks the line of paragraph elements in HTML if the paragraph contains newlines. In many cases, we see that if we insert a small paragraph or large paragraph in the MySQL database then it is inserted as a whole string. But … Read more

Populate dynamic column chart in PHP using Google chart API

In this tutorial, I will explain how to populate dynamic column chart in PHP using Google chart API step by step. Google charts provide the flexibility to use the dynamic data using PHP inside the javascript code. With the help of Google chart, we can show the real-time data from the database in a graphical … Read more

Integrate Instamojo payment gateway in PHP step by step

In this tutorial, I will explain how to integrate the Instamojo payment gateway in PHP step by step. Instamojo is an online selling platform in India and provides APIs for different languages with detailed documentation that are very easy to integrate. The developers can integrate the payment gateways to their application or website with the … Read more

How to get last record in MySQL using PHP

Hi friends, in this tutorial we will learn how to get last record in MySQL using PHP. This is very useful and almost required in any kind of web application while creating a dynamic website or any customized software. Actually, there are two ways by which we can get the last inserted record from the … Read more

PHP notification alert when a new record is inserted using AJAX

Hi friends, in this tutorial we will learn how to send a PHP notification alert when a new record is inserted using ajax and jquery. This is almost similar to Facebook-like notifications. As we all know that the notification is a very essential part of any type of web-based application or any dynamic website. In … Read more