PHP

(PHP) 난수 발생

SAFE 2016. 4. 29. 18:03

php 난수 발생


mt_rand(1, 10);  // 1에서 10 정수 중 1개 랜덤 출력


출처 : http://mwultong.blogspot.com/2007/04/php-1-10-random-rand-int.html