急,Tp的create方法问题
- PHP code
<!---ecms Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$user=M('user');$list=$user->create();dump($list);
返回来的是,array(0){},什么意思?
create() 和add()以后,post数据添本¥文来源gaodai$ma#com搞$代*码*网(搞代gaodaima码加不到数据库,是什么原因?
我把数据库表都对了N多回了……
——解决方案——————–
看下tp中的runtime文件夹下面是否生成了与数据库表重名的文件,清理掉试试。