MySQL Syntax error. Can't solve it

前端 未结 5 2064
南方客
南方客 2021-01-26 01:22

I wanna insert 0 to some db table\'s fields but can\'t get it work. The piece of code from my signup php script looks like that.

...

if (isset($type))
{         


        
5条回答
  •  情歌与酒
    2021-01-26 01:55

    Group is a keyword, it needs to be wrapped around quotes. Also, it doesn't really look like you're doing any sanitisation, if not, you should.

提交回复
热议问题