From 9fe0d139e84ba4cd63bf5d55777da41ead942b03 Mon Sep 17 00:00:00 2001 From: xice Date: Sat, 14 Jul 2018 22:37:13 +0800 Subject: [PATCH] add the ; --- testdb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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