From 52ffc7bee2eed9b45108eb4713d893073644b1cd Mon Sep 17 00:00:00 2001 From: xice09 Date: Wed, 30 May 2018 16:17:18 +0800 Subject: [PATCH] t --- index.php | 4 ++-- test.php | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) 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 @@
" type="text" class="validate" style="color:#fff" name="timestart">
-
本次答题限时10分钟    剩余时间  10:00
+
本次答题限时15分钟    剩余时间  15:00
开始
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("提交失败,请稍后重试。");