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 notification is a very essential part of any type of web-based application or any dynamic website. To do so, … Read more

How to Store Form Data in Session in PHP

Edit Post Update How to Store Form Data in Session in PHP In this tutorial, we will learn how to store form data in a session in PHP. We will take an example as shown in the above image with the help of an HTML form. Using session, we can keep the form values even … Read more

How to Get a Date One Month Later in PHP

There are two ways to get a date one month later in PHP By using the date function By using the DateTime::modify Illustration of the example using the date() function to get a date one month later in PHP We will use the date() function to get the date in a specific format. We will … Read more

Display MySQL data in a modal on button click using ajax jquery PHP

In this tutorial, we will learn how to display MySQL data in a bootstrap modal on button click using ajax jQuery PHP. It seems very unprofessional to redirect to another web page to view some information. To simplify this problem, we will use a bootstrap modal which looks very user-friendly. After clicking the button, Below … Read more