thinkphp Framework PHP functions
:(
sqlstate[hy000]: General error:1364 Field ' tiezi ' doesn ' t has a default value
Wrong location
file:e:\webpage\thinkphp\library\think\db\driver.class.php line:217
TRACE
#0 E:\Webpage\ThinkPHP\Library\Think\Db\Driver.class.php (217): Pdostatement->execute ()
#1 E:\Webpage\ThinkPHP\Library\Think\Db\Driver.class.php (813): Think\db\driver->execute (' INSERT into ' TB ... '), False
#2 E:\Webpage\ThinkPHP\Library\Think\Model.class.php: Think\db\driver->insert (array, array, false)
#3 E:\Webpage\Application\Home\Controller\IndexController.class.php: Think\model->add (Array)
#4 [Internal function]: home\controller\indexcontroller->posts ()
#5 E:\Webpage\ThinkPHP\Library\Think\App.class.php (164): Reflectionmethod->invoke (Object (home\controller\ Indexcontroller))
#6 E:\Webpage\ThinkPHP\Library\Think\App.class.php (202): Think\app::exec ()
#7 E:\Webpage\ThinkPHP\Library\Think\Think.class.php (): Think\app::run ()
#8 E:\Webpage\ThinkPHP\ThinkPHP.php ($): Think\think::start ()
#9 E:\Webpage\index.php: Require (' E:\Webpage\Thin ... ')
#10 {main}