How to automatic update data in database in PHP

前端 未结 1 1016
感情败类
感情败类 2021-01-28 13:34

I want to make toefl test. I make table score_structure in database containing 4 columns (email, right, false, score). If the user has done on previous test and will perform a t

相关标签:
1条回答
  • 2021-01-28 14:11

    Update your update query & let us know the feedback:

    $simpan = "UPDATE score_structure SET `right`='$right', `false`='$false', `score`='$score' WHERE email='$email'";
    

    Also currently mysql_() are depreciated so use mysqli_()

    0 讨论(0)
提交回复
热议问题