我做数据库插入时,碰到插入字段有逗号。执行提示语法错误,这个应该怎样处理?? 其中某一条: 。。。(word , pos , from) VALUES ('word','noun,verb','word')'
认证高级PHP讲师
From is the keyword and should be written as `from`
That doesn’t make sense. Can you post the SQL insertion statement?
I just tested it on MySQL and there is no problem if there are commas in the input. Can you post your error message?
If you see that there is a problem with your field definition and it has been resolved, please close this issue.
From is the keyword and should be written as `from`
That doesn’t make sense. Can you post the SQL insertion statement?
I just tested it on MySQL and there is no problem if there are commas in the input.
Can you post your error message?
If you see that there is a problem with your field definition and it has been resolved, please close this issue.