write a program to generate a factorial of any number in php

write a program to generate a factorial of any number in php

In this article, We’ll write a program to generate a factorial of any number in php. first, we understand the meaning of factorial in mathematics, the factorial of a positive integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example: 5! = 5 * 4Read more about write a program to generate a factorial of any number in php[…]

how to get file extension in php ?

how to get file extension in php ?

In this article, We’ll see how to get file extension in php. We’ll use pathinfo() function to get the file extension. pathinfo() function returns information about a file path: either an associative array or a string, depending on options. Below an example: That’s it!. Please share your thoughts or suggestions in the comments below.

difference between var and let in javascript ?

difference between var and let in javascript ?

In this article, We’ll see what is the difference between var and let in javascript ? Below an example will clarify the difference. The var statement declares a variable, optionally initializing it to a value. Demo: Statement – Var The let statement declares a block scope local variable, optionally initializing it to a value. Demo:Read more about difference between var and let in javascript ?[…]