我的 sql 查询是:
"INSERT INTO
order customer_id = $customer_id
, firstname = '".$firstname."'
, lastname = '".$lastname."'
, email = '".$email."'
, telephone = '".$telephone."'
, fax = '".$fax."'
, ip = '".$ip."'
, date_added = NOW()
, date_modified = NOW()
";
我得到错误
注意:错误:您的 SQL 语法有错误;检查与您的 MySQL 服务器版本相对应的手册,以在第 1 行的 'order customer_id =1,firstname ='kuldeep',lastname ='pathak',email ='kuldeep.pat' 附近使用正确的语法错误编号:1064