【发布时间】:2017-09-06 08:33:56
【问题描述】:
我正在尝试将多个字段中的单个字段添加到表中:
错误号:1054
“字段列表”中的未知列“描述”
代码:
INSERT INTO `eys_questions` (`question`, `description`, `answer1`,
`checkbox1`, `answer2`, `answer3`, `answer4`, `answer5`, `answer6`,
`answer7`, `answer8`, `answer9`, `answer10`, `image`)
VALUES ('This is the question ', 'This is the description', 'This is the answer', '1',
'', '', '', '', '', '', '', '', '', '')
文件名:C:/xampp/htdocs/eys/system/database/DB_driver.php
行号:691
【问题讨论】:
-
过去
eys_questions的数据库架构 -
请在此处添加表格结构。此外,我建议在 1-many 表中进行操作,而不是将所有答案保存在一个表中
标签: codeigniter codeigniter-2 codeigniter-3