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 'from, to, from_content, to_content)VALUES('david', 'william', 'This is a line' at line 1
INSERT INTO follow_info (from, to, from_content, to_content)VALUES('david', 'william', 'This is a line', 'hello, there')1064

解决方案 »

  1.   


        INSERT INTO `follow_info` (`from`, `to`, `from_content`,`to_content`) VALUES ('david', 'william', 'This is a line', 'hello, there');  这样试试
      

  2.   

    在from to等关键字上加上特殊符号``````````,即数字1左侧的那个按键.
      

  3.   

    from字段与系统保留字冲突,加个`from`试试