post icon

How to choose random number from a number range?

You can use

$range1 = rand(1, 100);
$range2 = rand(100, 200);

Comments are closed.

Leave a comment