Browsing: Web Codes
There are different pattern design available in PHP using asterisk (*) symbol.Such as Diamond Pattern, Diamond Triangle number,Reverse Pyramid Pattern,Heart…
A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such…
In PHP we can swap two numbers in two ways-1. Swap two numbers using third variable.2. Swap two numbers using…
LCM stands for “Least Common Multiple”.The least common multiple (LCM) of two numbers is the smallest number (not zero) that…
In mathematics, the factorial function (symbol: !) says to multiply all whole numbers from our chosen number down to 1.Example…
An array is a special variable, which can hold more than one value at a time.Task: To merge two array…
To sort an array value there is function available in PHP.But i’ll show you the same things without using of…
Hooks are way to add or modifying the functionality or visuality of the site without altering the main/core code. There…
A prime number is a natural number greater than 1 that is not a product of two smaller natural numbers.Such…
An array is a special variable, which can hold more than one value at a time. To add or sum…