From 40af937d4c165a7bfd4fd28577605fb645a002a7 Mon Sep 17 00:00:00 2001 From: xice Date: Fri, 29 Jun 2018 11:10:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BE=E5=88=86=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- anser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anser.php b/anser.php index 4c00853..9691214 100644 --- a/anser.php +++ b/anser.php @@ -62,7 +62,7 @@ $con=mysqli_connect("172.27.16.2:3306","root","lxo329123456","buptStudent"); if (!$con){echo 'Could not connect:' . mysql_error();}; $result2 = mysqli_fetch_array(mysqli_query($con,"SELECT * FROM UserAnswer WHERE Student_ID = '$_SESSION[Student_ID]'")); - if($result2[score]) echo "得分为: ".$result2[score]." "; + if($result2[score]) echo "得分为: ".$result2[score]*5." "; mysqli_close($con); ?> 谢谢