MYSQL not receiving data from PHP

前端 未结 6 1886
隐瞒了意图╮
隐瞒了意图╮ 2021-01-25 02:21

I am trying to send data from input to a my sqldata base. Here is the coding for it trying to send the information to the database. It doesn\'t appear in the database; what is w

6条回答
  •  [愿得一人]
    2021-01-25 02:56

    You have some errors in the query. Firstly use mysqli_query() as here, you are using mysqli. Remove the unwanted , and ; from the query and try with this,

    mysqli_query($con,"INSERT INTO 'mensscore' (Name, Club, Level, App, Score)
        VALUES ('$a',
                '$b',
                '$c',
                '$d'
                '$g')");
    

提交回复
热议问题