thinkphp 更新数据
- PHP code
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
--> public function edit() {
$Form =M("release");
if ($vo = $Form->create()) {
$list = $Form->save();
if ($list !== false) {
$this->success('数据更新成功!');
} else {
$this->error("没有更新任何数据!");
}
} else {
$this->error($Form->getError());
}
$this->assign('Form',$Form);
dump($Form);
$this->display();
}
------解决方案--------------------











