请解释此查询以及如何解决此错误? [英] kindly explain this query and how this error can be resolved?

查看:94
本文介绍了请解释此查询以及如何解决此错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您的SQL语法有错误;检查与您的MySQL服务器版本对应的手册,以便在'order set custid ='4'附近使用正确的语法,catid ='1',proid ='2',quantity = '14',totalbill ='1400', '第1行'





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 set custid='4',catid='1', proid='2',quantity='14',totalbill='1400', ' at line 1]


insert into order set custid='$custid',catid='$catid',
proid='$proid',quantity='$quantity',totalbill='$totalbill',
deldate='$var_date',orderstatus='$orderstatus

推荐答案

custid',catid = '
custid',catid='


catid',
proid = '
catid', proid='


proid',quantity = '
proid',quantity='


这篇关于请解释此查询以及如何解决此错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆