generate random number php between 10 and 20 code example
Example 1: php random number generator
<?php
echo rand(1,50);
?>
Example 2: php random integer
echo random_int(0,50);
<?php
echo rand(1,50);
?>
echo random_int(0,50);