diff --git a/test.php b/test.php index 590075e..31f2831 100644 --- a/test.php +++ b/test.php @@ -15,7 +15,7 @@ $chongfu="SELECT Student_ID FROM UserAnswer WHERE Student_ID=$_POST[student_id]"; if(mysqli_fetch_array(mysqli_query($con,$chongfu))[0]==$_POST[student_id]) { - die('您已参与过本活动,谢谢参与我们的活动,请继续关注我们公众号bupt_stu的后续推送。现在你可以直接关闭页面了。'); + 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')";