How to auto calculate the sum of input values using Jquery or Javascript

In this tutorial, we will learn to auto calculate the sum of input values using jQuery or JavaScript. Sometimes we need addition, subtraction, division, multiplication, and percentage, etc. in a webpage on the fly i.e. without reloading the page or submitting the page. With the help of JavaScript events, we can find the values. In … 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

Dropdown search box jquery example with select2.min.js

Hi friends, In this tutorial, we will discuss regarding dropdown search box jquery example with select2.min.js plugin. The default dropdown box in HTML or bootstrap does not have the option for searching data. Sometimes, we need to search for individual data from huge data sets in select boxes. In such a case, select2.min.js plugin helps … Read more

How to create laravel project from scratch step by step

How To Create Laravel Project From Scratch

In order to create laravel project from scratch including authentication in a simple way, we have to follow the below guidelines. Also Read, How to run laravel on localhost without PHP artisan serve Create laravel project using composer Now, you can create the laravel project using the composer with the help of the create-project command … Read more

Inner Join in MySQL with conditions by example

Before getting started with the inner join in MySQL with conditions examples, let’s know about the inner join keyword and its syntax. What is inner join in SQL/MySQL? Inner join is used when we want to collect the data or rows between two tables or from multiple tables in the database. When the inner join … Read more

GROUP_CONCAT() example in MySQL with Join

In MySQL, sometimes we need to fetch the particular column value from multiple rows using the same id i.e. the foreign key that belongs to the primary key of the other table. As such, with the help of the GROUP_CONCAT() example in MySQL, we can do this. This function is used very rare but it … Read more

PHP difference between two dates in years, months and days

To calculate the PHP difference between two dates in years, months, and days, we have to use three functions strtotime() function floor() function() abs() function Read Here, strtotime, floor and abs functions in PHP Let us consider two dates and store in variables.$date1 = ‘2016-06-01’;$date2 = ‘2020-08-08’; Now, the difference between these two dates will … Read more