public function editup(){
$data=array(
'id'=>I('id'),
'ti
tle'=>I('title'),
'author'=>I('author'),
'content'=>I('content'),
);
print_r($data);
$db=M('weixin');
if($db->save($data)==false){
$this->error($db->getError());
}else{
$this->success('编辑成功');
}
}
传过来的数据是完整的..字段也没问题,.就是一直提示非法数据对象 ,我好无语啊