PHP range() Function

The range() function is use to find out number of element between in Minimum number and Maximum number on the array.

Demo :



Minimum No : Maximum No :  
0,

Example :

Minimum No : 10 , Maximum No : 100

If you need to find range between two numbers following code useful to you.


<?php
 $Minimum_No = 10;
 $Maximum_No = 100;
 $result = range($Minimum_No,$Maximum_No);
  echo print_r($result);
?>

.In the range() functions have used three parameters that name is mixed low,mixed high,[int step].[int step] parameters is option for a range function.

Free Download Script :

If you need range() function demo code download from following link.

Download




Content