<?php $rst = array(11, 22, 23, 27, 30); for ($i = 1; $i <= 39; $i++) { if (in_array($i, $arr)) { continue; } $arr[] = $i; } $a = rand(1, sizeof($arr)); echo $arr[$a];
You have javascript disabled. You will not be able to edit any code.