From 802948ccc9efb5c3e6828c1be29a82e0c66a6a75 Mon Sep 17 00:00:00 2001 From: xice09 Date: Wed, 30 May 2018 17:22:06 +0800 Subject: [PATCH] ttttttt --- anser.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anser.php b/anser.php index bca0140..57164e0 100644 --- a/anser.php +++ b/anser.php @@ -78,12 +78,12 @@ if(!mysqli_fetch_array(mysqli_query($con,$chongfu))[0]==$_SESSION[student_id]){ die('请先完成问卷'); } - $list = { + $list = array( 1=> 'A', 2=> 'B', 3=> 'C', - 4=> 'D' - } + 4=> 'D', + ); $row = mysqli_fetch_array($result2) for($i = 1;$i <= 20;$i++){ $q = floor($row[ap_$i] / 10);