How to get current page URL in PHP

August 1, 2019

In This Tutorial, We are Learning How to get Current Page URL in PHP. $_SERVER $_SERVER is the Superglobal Variable in PHP. $_SERVER is an Array Containing Information such as Headers, Paths and Script Locations. You can get current page URL in PHP. The example…

How to Merge Two Arrays without Duplicate Values in PHP?

July 7, 2019

In this Tutorial We are Learning How to Merge Two Arrays without Duplicate in PHP ? You can use PHP inbuilt Function to Merge Two Arrays without repeat values. You can use array_unique() function and array_merge() function to merge two arrays in one Without Duplicate…

How To Merge Arrays Into One Array In PHP ?

March 12, 2019

In this Tutorial We are Learning How To Merge Arrays Into One Array In PHP ? You have easily merge array using array_merge() function. This Function is Useful to merge two or more arrays into one array. array_merge() array_merge() is built in function in php….

PHP: Implode() and Explode() Function

January 13, 2019

In this Tutorial We are learning Implode() and Explode() function in PHP. Imploding and Exploding are Couple of important functions of PHP that can be applied on strings and arrays. PHP provides us with two important function implode() and explode() function to perform operations on…

PHP: Calculate Number of Days Between Two Dates

January 13, 2019

In this Tutorial, We Are Learning How to Calculate Number of Days Between Two Dates. There are a simple way to get number of days between two dates in PHP. using the date_diff() function, You can easily count days between two dates in PHP. The…

PHP: How to Get Yesterday and Tomorrow Date ?

January 13, 2019

It’s a common task to work with date and time as a PHP Developer. Many Time we need get Yesterday and Tomorrow Date in PHP. In This Tutorial We are Learning How to Get Yesterday and Tomorrow Date in PHP. We are Getting Yesterday and…

PHP: array_sum() function

January 8, 2019

In this, Tutorial we are Learning array_sum() function in PHP. This Function is used to Calculate the sum of values in an array. This function returns the sum of values in an array. This Function is available in php 4 and above Php Version. How…

PHP: array_change_ key_case() function

January 5, 2019

In this, Tutorial We are Learning How to convert array values to lowearcase or How to Convert array values in Uppercase using array_change_ key_case() function in PHP. The array_change_ key_case() function is used to Change all array keys to lower case or upper case. This…

How to reverse number in php ?

December 16, 2018

In this, Tutorial we are learning how to reverse number in php. You can reverse a number using this method. If you want to convert string to reverse than you have to follow this step also. First we learn how to reverse any number in…