PHP里的MySQL语句报错,求解! 50
报错的代码就是第27行,报的错是YouhaveanerrorinyourSQLsyntax;checkthemanualthatcorrespondstoyourMySQ...
报错的代码就是第27行,报的错是
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Detele from favorite_users where UserID='2'' at line 1
我觉得我代码没问题啊,我就是想删除数据库里UserID是$userid的记录。
数据库结构如下,
求大神指点啊~~~ 展开
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Detele from favorite_users where UserID='2'' at line 1
我觉得我代码没问题啊,我就是想删除数据库里UserID是$userid的记录。
数据库结构如下,
求大神指点啊~~~ 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询