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 'order(oid,foodname,shopname,foodprice,time) values(6,‘阳澄湖大闸蟹’,‘朱’ at line 1
真的往死气人这个错误,研究了一天各种网上找,什么情况都试了就是找不出来问题在哪,快崩溃了,最后才发现 我的表明是order 这是个Mysql里的关键字 我特么。。。。。。
改成order1 好了