diff --git a/testdb.php b/testdb.php index 9c3630c..0447289 100644 --- a/testdb.php +++ b/testdb.php @@ -18,7 +18,7 @@ $flag = 0; $random = $randomArray[$i]; $result = mysqli_query($con,"SELECT * FROM Persons WHERE num='$random'"); - $row = mysqli_fetch_array($result) + $row = mysqli_fetch_array($result); $count += 1; echo "当前查询次数:$count, 查询行数: $random, 查询题号: $i"; //html