Installing PHP on Windows

What is PHP? PHP is known to be one of the most commonly used server-side programming language on the web. It provides an easy to master with a simple learning curve. It has close ties with the MySQL database, and various libraries to cut your development time. Two Ways to install PHP locally There are several ways that we could install PHP locally. Here i have added two of the…

Top 5 Programming languages to learn in 2020

Programming is one of the most important skill to be mastered in today’s world. If you are new to the field of software engineering, the very first question comes to your mind is “What’s the best Programming Language to Master ?” that’s an important question to decide your programming career. There are many popular programming languages to learn in 2020. Let’s find out the best 5 programming languages to master.…

PHP Array Functions and their usage with examples

This tutorial is created to give an abstract idea about commonly used PHP array function with examples. Through this tutorial you'll be able to know, how to use array functions to make code more short and simple. Note:I'll be only covering some of the basic array functions, Which were frequently used by PHP developers. You can refer all the array functions from the official PHP Documentation. Feel free to share your opinion…

PHP Program to remove empty or specific array elements.

This tutorial is created to remove specific or empty (NULL) array elements from the array. array_filter() to Remove Empty Elements array_filter() function removes false values when declared using a callback function, however, If the callback function returns true, the current value from input is returned into the result array. $array (mandatory): This is where the input array is given.$callback_function (optional): The user-defined function is given . If the function is not given…

Simple PHP MySQL CRUD Application

PHP is widely used by many developers today and it's one of the easiest language to learn. This tutorial will help you to learn the basic CRUD (Create, Read, Update, Delete) operations in PHP using MYSQL. Create the DB(Database) file Create the DB as 'php_crud' and run the following SQL query to create table users inside the MySQL 'php_crud' database. Creating the DB SQL query to create a table named…

CRUD in Laravel 5.8

This tutorial is created to illustrate the basic CRUD (Create , Read, Update, Delete) operation using SQL with Laravel 5.8. Laravel is one of the fastest growing frameworks for PHP built by Taylor Otwell. # Laravel 5.8 Laravel 5.8 continues the improvements made in the previous release (version 5.7). Refer release notes to see the changes made in Laravel 5.8. In this tutorial, You'll learn the Basic CRUD operation in Laravel. Follow the step…

Import, Export from Excel to Database in Laravel 5.8, 5.7, 5.6.

This tutorial is created to Import, Export data from an excel sheet to database in Laravel Framework using maatwebsite/excel package. It provides an easy way to import and export using database model. It will work with Laravel 5.8, 5.7, 5.6. Laravel Import, Export - Excel CSV Install Laravel First, let's install Laravel using the following command (Make sure, You have installed composer in your PC). Click on Install Composer If you haven't installed Composer…

Facebook Login with Socialite in Laravel 5.8

The tutorial is created to implement facebook login using Socialite in Laravel 6.0, 5.8 , 5.7 and 5.6. Using Facebook Auth to log and register into your Laravel Application. Follow the steps below to implement laravel socialite facebook login. Install Laravel 5.8 First, let install Laravel 5.8 using the following command (Make sure you have installed composer in your PC). Click on Install Composer If you haven't installed Composer on your PC.…

JSON in JavaScript

This tutorial is created to provide you with an introduction to working with JSON (JavaScript Object Notation) in JavaScript. JSON is mostly used with AJAX (Asynchronous JavaScript) and XML. It's a lightweight format to serialize and transmit structured data over a network connection. JSON for JavaScript is generally used in some of the following scenarios : Data Storage (Storing Data).Data AnalysisData transfer from user / server to relevant medium. Keys and Values…

How to Get, Set and Delete Div Background Image using jQuery?

This tutorial is created to Set, Get and Delete background image. In this tutorial, You'll learn to Get, Set and Remove the background image using jQuery. Get Background Image You can use the below code for getting the background image in jQuery with fade out effect. $("#btn-get").click(function () { var bg = $('#bg-img').css('background-image'); bg = bg.replace('url(', '').replace(')', ''); alert(bg); }); Set Background Image You can use the below code for…