This commit is contained in:
2018-06-15 03:47:27 +08:00
parent 1b2f141309
commit 288a109714

View File

@@ -126,7 +126,7 @@ if($_SESSION[Student_ID] != ""){
$ppp = $p + $pp;//the number of questions
echo "<div id=\"ppp\" ppp=\"".$ppp."\"></div>\n<div class=\"section\" id=\"hiddenBefore\" style=\"display:none\"><h5>&nbsp;&nbsp;单选题</h5>\n";
//创建随机数组
$randomArray = array_rand(range(1,107),$p+1);
$randomArray = array_rand(range(1,99),$p+1);
// for($i = 1;$i <= $p;$i++){
// echo $randomArray[$i]." ";
// }