If my user request a 2 digit random number I can do that with rand(10,99)
if the want 5 digits then rand(11111,99999)
Instead of writing 8 if statements, one of each option..
if there anyway to take the digit they enter ($rand) and generate the random number ?
Thanks