I want to generate a 6 digit random number using the PHP mt_rand()
function.
I know the PHP mt_rand()
function only takes 2 parameters: a minimum and a maximum value.
How can I do that?
I want to generate a 6 digit random number using the PHP mt_rand()
function.
I know the PHP mt_rand()
function only takes 2 parameters: a minimum and a maximum value.
How can I do that?