杭州神话信息技术有限公司

标题: 数据库批量添加用户遇到问题 [打印本页]

作者: ilisten    时间: 2011-5-19 15:14:25     标题: 数据库批量添加用户遇到问题

我准备批量加入学生用户,所以用备份数据库实验了下,
我在数据库加入了这串代码 (84, '', 0, '090610333', '叶晓龙', 'e10adc3949ba59abbe56e057f20f883e, '', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '','1980-01-01', 0, 0, '', 0, './images/face/god/090510101.jpg', 0, 3, 'normal', 0, '', 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, '0', '', '', 0, 0, 0, 0, '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', '', '', '', 'repeat', '', 0, 0, 0)
上传数据库,出现
#1064 - 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 '0000-00-00', 0, 0, '', 0, '/images/face/god/090510101.jpg', 0, 3, 'normal', 0, '' at line 85

请问,是什么原因呢?

加入用户是不是数据库添加这些就可以了呢?

作者: ilisten    时间: 2011-5-19 15:41:20

求帮助啊~~~~~~~~~~~~~~~~~




欢迎光临 杭州神话信息技术有限公司 (http://cenwor.com/) Powered by Discuz! X2