php if random range code example
Example 1: php random number
// $min and $max are optional
rand($min,$max);
Example 2: php random number generator
<?php
echo rand(1,50);
?>
// $min and $max are optional
rand($min,$max);
<?php
echo rand(1,50);
?>