Unknown column ‘a‘ in ‘field list‘ 出错原因:sql语句没有写对在使用ASP连接Mysql数据库时,获取的字段变量应该写作如下格式:remark = "‘" & Request.QueryString("remark") & "‘"sql语句写为:sql="insert into category (cid_n,category_type,remark) values (" & cid & "," & categoryType & "," & remark & ");"
时间: 2024-10-13 22:17:49