看了好久也不知道是哪里的问题 数据库的表名 字段名是没问题的,语法错误是说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 '' at line 1
版本问题造成的错误
没看出有啥问题。把SQL语句打印出来,在数据库里执行一下看看行不行。