MySQL Syntax error. Can't solve it

前端 未结 5 2067
南方客
南方客 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:44

    You miss ' quote after $age. Also you should use {$data['lname']} instead of $data[lname] in quotes.

提交回复
热议问题