#1 土坷垃
create($post) 构造的sql语句,为什么有些空表单项是''有的是NULL下面这个情况是,fuze,jidiao,logo 等字段和picarr一样都为空,为什么picarr变成了NULL,导致写入数据失败INSERT INTO h_lxs (username,password,truename,tel,qq,address,mobile,fuze,jidiao,logo,picarr,ckpwd,state,hezuoa,hezuob,zhengarr,integral,regtime) VALUES ('chunqiu','63ee451939ed580ef3c4b6f0109d1fd0','填写旅行社','','','','15555555555','','','',NULL,'74be16979710d4c4e7c6647856088456','1','','',NULL,'1',1471429216)
执行错误: Column 'picarr' cannot be null
2016-08-17 18:23:12