Generate an N-digit random number

后端 未结 7 1605
清酒与你
清酒与你 2020-12-05 09:49

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 <

7条回答
提交回复
热议问题