insert报错
insert时,报错SQLSTATE[HY000]: General error: 1364 Field 'xxx' doesn't have a default value,然后我在phpmyadmin直接执行sql语句就不会报错,这是为什么呢
insert时,报错SQLSTATE[HY000]: General error: 1364 Field 'xxx' doesn't have a default value,然后我在phpmyadmin直接执行sql语句就不会报错,这是为什么呢
2017-02-10
举报