diff --git a/index.php b/index.php
index a03314c..54d36c2 100644
--- a/index.php
+++ b/index.php
@@ -48,7 +48,7 @@
@@ -98,7 +98,7 @@
开始
diff --git a/test.php b/test.php
index e72fcc0..82e7844 100644
--- a/test.php
+++ b/test.php
@@ -16,9 +16,7 @@
{
die('对不起,您已参与过本活动。');
}
- $sql="INSERT IGNORE 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($sql,$con))
{
die("提交失败,请稍后重试。");