random digit generator php code example
Example 1: php random number generator
<?php
echo rand(1,50);
?>
Example 2: php rand int
random_int ( int $min , int $max );
<?php
echo rand(1,50);
?>
random_int ( int $min , int $max );