From dc8e9a07d8ee7bba866918fb9607816c15371707 Mon Sep 17 00:00:00 2001 From: xice Date: Tue, 26 Jun 2018 10:41:57 +0800 Subject: [PATCH] test --- test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.php b/test.php index 80f210e..a339898 100644 --- a/test.php +++ b/test.php @@ -18,7 +18,7 @@ die('您已参与过本活动。'); } $_SESSION['Student_ID'] = $_POST[student_id]; - $sql="INSERT INTO UserAnswer (user_name, Student_ID, school, userclass, phone, ip, timeend ,timestart, thetime) VALUES ('$_POST[user_name]','$_POST[student_id]','$_POST[school]','$_POST[userclass]','$_POST[telephone]','$userIp','$timeend','$_POST[timestart]','$sec')"; + $sql="INSERT INTO `UserAnswer` (`user_name`, `Student_ID`, `school`, `userclass`, `phone`, `ip`, `timeend`, `timestart`, `thetime`) VALUES ('$_POST[user_name]','$_POST[student_id]','$_POST[school]','$_POST[userclass]','$_POST[telephone]','$userIp','$timeend','$_POST[timestart]','$sec')"; if (!mysqli_query($con,$sql)) { die("提交失败,请稍后重试。");